Xilinx / open-nic-dpdk

DPDK Drivers for AMD OpenNIC
Other
18 stars 8 forks source link

Pktgen application does not receive packets #11

Closed attdone closed 10 months ago

attdone commented 12 months ago

Hi Team, I was using Alveo u200, and I performed these steps (https://github.com/Xilinx/open-nic-dpdk ) to test pktgen. I had used two QSFP's connected in loopback. I wants to know how to get the second PF's ie., 00:03.0 and 00:03.1, in pktgen command? sudo Builddir/app/pktgen -a 08:00.0 -a 08:00.1 -d librte_net_qdma.so -l 4-10 -n 4 -a 00:03.0 -a 00:03.1 -- -m [6:7].0 -m [8:9].1.

I have only two Network controller BDF's as 08:00.0 and 08:00.1. I had run pktgen command as sudo Builddir/app/pktgen -a 08:00.0 -d librte_net_qdma.so -l 4-10 -n 4 -a 08:00.1 -- -m [6:7].0 -m [8:9].1 . In this the TX packet count shows 511, but RX count shows zero. What's the cause for 0 RX packets.

How to get the value 03:00.0 and 03.00.1? Does it uses different test setup (other than loopback)? As I am new to DPDK please let me know what changes to be made. Any suggestions are helpful.