From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [dpdk-dev] [Bug 73] In a multi-process setup, secondary processes fail to receive any packet
Date: Tue, 17 Jul 2018 13:34:07 +0000 [thread overview]
Message-ID: <bug-73-3@http.bugs.dpdk.org/> (raw)
https://bugs.dpdk.org/show_bug.cgi?id=73
Bug ID: 73
Summary: In a multi-process setup, secondary processes fail to
receive any packet
Product: DPDK
Version: 18.02
Hardware: x86
OS: Linux
Status: CONFIRMED
Severity: normal
Priority: Normal
Component: other
Assignee: dev@dpdk.org
Reporter: guillaume.girard@intel.com
Target Milestone: ---
We have built an application on top of DPDK listening to certain streams of
packets and reporting statistics on those. The application is working with a
specific Ethernet port specified at the command-line.
The application is multi-process aware, so you can start a primary and several
secondaries, all listening to their own ports. This works perfectly fine on a
X550T-based setup with up to 8 ports (driver is xgbe).
However, when moving to an X772T-based setup (driver is i40e), the secondaries
stopped receiving any packets. The primary works as usual, and sees all packets
for its own port. The secondaries get "packets" that consists of 60 to 300
bytes, all zeroes, at a rate of one per second or so.
I tried to run the same setup with multiple primaries separated by their file
prefix, but the same issue happened (which process gets the packets changes
though).
I finally refactored the application to run separate threads in the same
process instead, and that worked fine. All threads see all the packets they
expect.
I suspect that ixgbe and i40e differ in how they handle this, and that might
cause the bug, but obviously, there might be other differences between hosts
that might be causing this as well. Not being familiar with DPDK, I haven't
searched any further, but I'll be happy to do so if somebody can give me a hint
of where to start looking.
--
You are receiving this mail because:
You are the assignee for the bug.
reply other threads:[~2018-07-17 13:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=bug-73-3@http.bugs.dpdk.org/ \
--to=bugzilla@dpdk.org \
--cc=dev@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).