DPDK usage discussions
 help / color / mirror / Atom feed
From: Haklat Haklat <haklat42@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] DPDK PF_PACKET PMD - Linux interface flow packet re-ordering
Date: Wed, 12 May 2021 10:24:37 +0200
Message-ID: <CA+2kfarBHB69Ofa9OAju2gewKh+gwy1E=NR2qMp89n-gL697Tw@mail.gmail.com> (raw)

Hi,
I am using the TREX DPDK (DPDK version 20.02) traffic generator in a k8s
test environment. I use both TREX pods with kernel networking (Linux
interfaces using DPDK PF_PACKET PMD driver) and pods with SRIOV/DPDK
networking.

One use case is to monitor traffic over long time sending only 1k PPS
streams. I have noticed that over time there is some small amount of out of
order packets using the Linux interface. It is never the case for the
SRIOV/DPDK flows.

I also use vpp (FDIO) pod with host-interfaces (i beleive this is also
using  DPDK PF_PACKET PMD driver) in the setup, also this pod seems to
contribute to small amount of reordering. If I use a normal ubuntu pod
instead pure kernel forwarding of the packets between two interfaces I do
not see any reordering.

I think both trex (using "linux interfaces") and vpp (using host-interfaces
(DPDK PF_PACKET PMD)) make use of linux packet socket interface. The ununtu
kernel networking pod just use normal kernel forwarding.

Do you think that maybe the small reordering could be caused by the use of
linux packet socket interface?

I just try to understand if I have issue in my network fabric or in the
DPDK PF_PACKET PMD tools in this case.

BR//Håkan

             reply	other threads:[~2021-05-12  8:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-12  8:24 Haklat Haklat [this message]
2021-05-25  7:07 Haklat Haklat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+2kfarBHB69Ofa9OAju2gewKh+gwy1E=NR2qMp89n-gL697Tw@mail.gmail.com' \
    --to=haklat42@gmail.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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 \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


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