Xilinx / open-nic-dpdk

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

packet capture:0 #15

Open Lion-tang opened 2 months ago

Lion-tang commented 2 months ago

Capturing on '0000:06:00.0' File: /home/wx/dpdk-stable-21.11.7/build/tx.pcap Packets captured: 0 ^C Packets received/dropped on interface '0000:06:00.0': 0/2009577 (0.0)

I called rte_pdump initialization in the main program to set up the packet capture framework, but I still couldn't capture packets. All packets were dropped, but testpmd could work normally with dumpcap. My call logic is rte_eal_init -> rte_pdump -> rte_eth_dev_configure -> rte_eth_rx_queue_setup/rte_eth_tx_queue_setup -> rte_eth_dev_start but I can't capture packets. How can I solve this problem?