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	[thread overview]
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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).