DPDK application running on sub-function

Hi all,

I am trying to run a DPDK application attached to a sub-function (scalable function). In my setup, network traffic comes from p0, is forwarded to scalable function representators in the eSwitch (back and forth).

The packets in the DPDK application is counted in RX_missed. I configured huge pages accordingly and mbufs are allocated.

DPDK app:
/opt/mellanox/dpdk/bin/dpdk-testpmd -l 0-1 -n 2 --huge-dir=/mnt/huge -a mlx5_core.sf.4,dv_flow_en=1 -a mlx5_core.sf.5,dv_flow_en=1 – -i --portmask=0x1 --nb-cores=1 --port-topology=loop


testpmd> show port stats all

######################## NIC statistics for port 0 ########################
RX-packets: 0 RX-missed: 123592 RX-bytes: 0

hi

Please follow such guide:
https://doc.dpdk.org/guides/platform/mlx5.html#mlx5-sub-function
https://doc.dpdk.org/guides/nics/mlx5.html#sub-function

Thank you
Meng, Shi