-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Hi,
We are running into an issue trying to capture packets with dpdk-pdump.
testpmd was run as the primary process using the following command below:
.../build/app/dpdk-testpmd -c 0xf0 -n 4 -- -i --port-topology=chained --forward-mode=rxonly
EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_qdma (10ee:903f) device: 0000:04:00.0 (socket 0)
PMD: QDMA PMD VERSION: 2020.2.1
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
Set rxonly packet forwarding mode
testpmd: create a new mbuf pool <mb_pool_0>: n=171456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 0)
Port 0: 15:16:17:18:19:1A
Checking link statuses...
Done
Error during enabling promiscuous mode for port 0: Operation not supported - ignore
testpmd> port stop all
Stopping ports...
Checking link statuses...
Done
testpmd> port start all
Port 0: 15:16:17:18:19:1A
Checking link statuses...
Done
testpmd> quit
Stopping port 0...
Stopping ports...
Done
Stopping port 1...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
Port 0 is closed
Done
Shutting down port 1...
Closing ports...
Port 1 is closed
Done
Bye...
.../build/app#
Packets were being transmitted to this port at all times. The corresponding pdump was started against the same device and its output shows it is indeed chained to testpmd. Closing testpmd stops pdump window as well.
.../build/app/dpdk-pdump -- --pdump 'port=0,queue=*,rx-dev=/tmp/test-capture-1004.pcap'
EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket_279378_2cfa511064dd9
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_qdma (10ee:903f) device: 0000:04:00.0 (socket 0)
EAL: No legacy callbacks, legacy socket not created
Port 1 MAC: 02 70 63 61 70 00
core (0), capture for (1) tuples
- port 0 device ((null)) queue 65535
Primary process is no longer active, exiting...
EAL: failed to send to (/var/run/dpdk/rte/mp_socket) due to No such file or directory
EAL: Fail to send request /var/run/dpdk/rte/mp_socket:mp_pdump
pdump_prepare_client_request(): client request for pdump enable/disable failed
EAL: Cannot find plugged device ()
##### PDUMP DEBUG STATS #####
-packets dequeued: 0
-packets transmitted to vdev: 0
-packets freed: 0
...:/home/vcr/Desktop#
What is the problem here? Any suggestions?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels