I met the following issue when running dpdk-testpmd under the OpenShift Virtualization environment recently. We did the test on 2 VFs, each passed through to a VM, and they come from the same PF(XXV710) on the host. However, it's found there are the following errors when I quit the test on the receiver side. Does anyone familiar with these? Are these related to the XXV710 card or something else?
# dpdk-testpmd --socket-mem 256 --lcores 0,1 -n 1 -a 00:05:00.0 --proc-type auto --file-prefix rx -- --forward-mode=rxonly --port-topology=chained --disable-rss -i --rxq=1 --txq=1 --rxd=256 --txd=256 --nb-cores=1 --auto-start
EAL: Detected CPU lcores: 2
EAL: Detected NUMA nodes: 1
EAL: Auto-detected process type: PRIMARY
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rx/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: VFIO support initialized
EAL: Using IOMMU type 8 (No-IOMMU)
EAL: Probe PCI driver: net_iavf (8086:154c) device: 0000:05:00.0 (socket -1)
......
iavf_dev_init_vlan(): Failed to update vlan offload
iavf_dev_configure(): configure VLAN failed: -95
iavf_set_rx_function(): request RXDID[1] in Queue[0] is legacy, set rx_pkt_burst as legacy for all queues
......
testpmd> quit
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 158837911 RX-dropped: 0 RX-total: 158837911
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 158837911 RX-dropped: 0 RX-total: 158837911
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
Stopping port 0...
Stopping ports...
iavf_execute_vf_cmd(): Return failure -37 for cmd 9
iavf_disable_queues(): Failed to execute command of OP_DISABLE_QUEUES
iavf_stop_queues(): Fail to stop queues
iavf_stop_queues(): Fail to stop queues
iavf_execute_vf_cmd(): No response for cmd 11
iavf_add_del_all_mac_addr(): fail to execute command OP_DEL_ETHER_ADDRESS
Done
Shutting down port 0...
Closing ports...
Port 0 is closed
Done
Bye...
Thanks in advance!
--