From: Jiading Guo <zingdle@gmail.com>
To: users@dpdk.org
Subject: Receive previous UDP packet even after relaunch
Date: Wed, 3 Jul 2024 20:36:06 +0800 [thread overview]
Message-ID: <CACwB4iZDJ8eamEycwDTisDJk24a4irNVmDY910U0WCAiGJC5NA@mail.gmail.com> (raw)
Hi all,
I'm trying to run the Flow Filtering application[1] with DPDK 23.11.1
on Ubuntu 20.04 with Intel i210 NIC. Since i210 doesn't support IPv4
filtering, I removed the related code and made it print all received
packets as a simple receiver.
Then I noticed:
- launch this receiver program on one machine
- on another machine (connected back-to-back), a program sends UDP
packets in a while loop
- wait for several seconds, SIGINT the sender, then SIGINT receiver later
- relaunch the receiver, the program print several previous UDP
packets, even I'm not running the sender now
I'm new to DPDK but I guess that I'm quitting receiver first, so when
the NIC keeps receiving the packets and "marks" it ready, it has no
chance for `rte_eth_rx_burst` when doing the exciting routine after
SIGINT. However I'm expecting that after `rte_eth_dev_stop/close`, the
previously marked packets should be cleared. What could go wrong here?
Or should I clear it manually after launching?
I tried igb_uio and vfio-pci, but with no luck. I'm using `iommu=off`.
Best regards,
Jiading Guo
[1] https://doc.dpdk.org/guides-23.11/sample_app_ug/flow_filtering.html
reply other threads:[~2024-07-04 10:35 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=CACwB4iZDJ8eamEycwDTisDJk24a4irNVmDY910U0WCAiGJC5NA@mail.gmail.com \
--to=zingdle@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).