DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] mlx5 / tcpdump: packet drop
@ 2020-07-23 21:10 PATRICK KEROULAS
  2020-07-23 23:57 ` Stephen Hemminger
  0 siblings, 1 reply; 3+ messages in thread
From: PATRICK KEROULAS @ 2020-07-23 21:10 UTC (permalink / raw)
  To: users


I'm trying to use tcpdump with dpdk support in order to benefit from
dpdk performance and nice features from tcpdump, like filters etc.
Traffic is constant but quite significant, 6 Gbps, captured by Mellanox

DPDK standalone works like a charm, no packet drop.
$ testpmd -w 0000:01:00.0 -w 0000:01:00.1 -- --enable-rx-timestamp
$ dpdk-pdump -- --pdump 'port=0,queue=*,rx-dev=/tmp/test.pcap'

However,when using libpcap/tcpdump on exact same hardware and
dpdk version, 15% of the pkts are dropped by interface:
$ DPDK_CFG="-dlibrte_mempool_ring.so -dlibrte_common_mlx5.so \
    -dlibrte_pmd_mlx5.so " ./tcpdump -i dpdk:0 -w /tmp/test.pcap
tcpdump: listening on dpdk:0, link-type EN10MB (Ethernet), snapshot
length 262144 bytes
^CUSER1: portid:0, RX-packets: 3778136     RX-errors:  0
RX-bytes:  4767864278  RX-Imissed:  215784
USER1: portid:0, RX-PPS: 613698     RX-Mbps: 6195.72
3778136 packets captured
3778136 packets received by filter
0 packets dropped by kernel
215784 packets dropped by interface

What should I look at first? mempool, queue, dev init sequence?

dpdk v20.05
libpcap 1.8.1

Best regards,


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-24 13:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-23 21:10 [dpdk-users] mlx5 / tcpdump: packet drop PATRICK KEROULAS
2020-07-23 23:57 ` Stephen Hemminger
2020-07-24 13:32   ` PATRICK KEROULAS

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ https://inbox.dpdk.org/users \
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git