open-nic-driver icon indicating copy to clipboard operation
open-nic-driver copied to clipboard

Testing applications using openNIC driver

Open Nafiah8088 opened this issue 11 months ago • 0 comments

I'm testing pktgen and testpmd application using openNIC driver in U200, where I'm facing issues the below issues "testpmd 20.11 application" sudo ./build/app/dpdk-testpmd -l 1-8 -n 4 --vdev="net_pcap0,iface=enp1s0f0" --vdev="net_pcap1,iface=enp1s0f1" -- -i in transmission and reception of pkts, pkts are initially sent and received but evenutally come to a hault, this is while running the application. "pktgen 23.06.1 application" sudo ./usr/local/bin/pktgen -l 1-8 -n 4 --vdev="net_af_packet0,iface=enp1s0f0" --vdev="net_af_packet1,iface=enp1s0f1" -d librte_net_af_packet.so -- -m [5:6].0 -m [7:8].1 the same follows where I'm not able to send or receive packets so I tried out few basic tests ping works fine but no packets are captured using tcpdump likewise used scapy as traffic generator and tcpdump for capturing it, the results were same my OS details cat /etc/os-release NAME="Ubuntu" VERSION="20.04.6 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.6 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal

I'm attaching the screenshots

Image

Image

Response would be highly appreciable

Nafiah8088 avatar Feb 06 '25 07:02 Nafiah8088