From: Dmitry Kozlyuk <dkozlyuk@nvidia.com>
To: <dev@dpdk.org>
Cc: Xiaoyun Li <xiaoyun.li@intel.com>,
Yuying Zhang <yuying.zhang@intel.com>,
Aman Deep Singh <aman.deep.singh@intel.com>,
Ferruh Yigit <ferruh.yigit@intel.com>,
Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>,
Thomas Monjalon <tmonjalon@nvidia.com>
Subject: [PATCH v2 0/2] app/testpmd: skip stopped queues when forwarding
Date: Mon, 7 Mar 2022 01:23:08 +0200 [thread overview]
Message-ID: <20220306232310.613552-1-dkozlyuk@nvidia.com> (raw)
In-Reply-To: <20220113092103.282538-1-dkozlyuk@nvidia.com>
It was unspecified what happens of a stopped queue is polled.
Declare that polling is prohibited and modify testpmd to follow this.
Rationale is described i nthe commit log; it follows the discussion:
http://inbox.dpdk.org/dev/BL1PR12MB594551A71273709E1C04A8BAB9309@BL1PR12MB5945.namprd12.prod.outlook.com/
v2:
* Do not try to change forwarding mode partially,
disable individual flows that need stopped queues instead.
* Do not store queue status in testpmd,
query it as needed instead.
Dmitry Kozlyuk (2):
ethdev: prohibit polling of a stopped queue
app/testpmd: do not poll stopped queues
app/test-pmd/5tswap.c | 13 ++++++++
app/test-pmd/csumonly.c | 13 ++++++++
app/test-pmd/flowgen.c | 13 ++++++++
app/test-pmd/icmpecho.c | 13 ++++++++
app/test-pmd/ieee1588fwd.c | 13 ++++++++
app/test-pmd/iofwd.c | 13 ++++++++
app/test-pmd/macfwd.c | 13 ++++++++
app/test-pmd/noisy_vnf.c | 13 ++++++++
app/test-pmd/rxonly.c | 13 ++++++++
app/test-pmd/shared_rxq_fwd.c | 13 ++++++++
app/test-pmd/testpmd.c | 57 ++++++++++++++++++++++++++++++++++-
app/test-pmd/testpmd.h | 4 +++
app/test-pmd/txonly.c | 13 ++++++++
lib/ethdev/rte_ethdev.h | 2 +-
14 files changed, 204 insertions(+), 2 deletions(-)
--
2.25.1
next prev parent reply other threads:[~2022-03-06 23:23 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-13 9:21 [PATCH] " Dmitry Kozlyuk
2022-02-02 10:02 ` Dmitry Kozlyuk
2022-02-03 13:52 ` Singh, Aman Deep
2022-02-09 8:59 ` Zhang, Yuying
2022-02-09 10:38 ` Dmitry Kozlyuk
2022-02-09 14:56 ` Li, Xiaoyun
2022-02-11 10:42 ` Dmitry Kozlyuk
2022-02-21 8:58 ` Dmitry Kozlyuk
2022-02-24 9:28 ` Thomas Monjalon
2022-03-06 23:23 ` Dmitry Kozlyuk [this message]
2022-03-06 23:23 ` [PATCH v2 1/2] ethdev: prohibit polling of a stopped queue Dmitry Kozlyuk
2022-03-06 23:23 ` [PATCH v2 2/2] app/testpmd: do not poll stopped queues Dmitry Kozlyuk
2022-03-07 12:53 ` [PATCH v3 0/2] app/testpmd: skip stopped queues when forwarding Dmitry Kozlyuk
2022-03-07 12:53 ` [PATCH v3 1/2] app/testpmd: do not poll stopped queues Dmitry Kozlyuk
2022-03-09 10:36 ` Dmitry Kozlyuk
2023-07-08 1:54 ` Stephen Hemminger
2022-05-25 15:46 ` Thomas Monjalon
2022-06-10 11:28 ` Jiang, YuX
2022-03-07 12:53 ` [PATCH v3 2/2] ethdev: prohibit polling of a stopped queue Dmitry Kozlyuk
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=20220306232310.613552-1-dkozlyuk@nvidia.com \
--to=dkozlyuk@nvidia.com \
--cc=aman.deep.singh@intel.com \
--cc=andrew.rybchenko@oktetlabs.ru \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=tmonjalon@nvidia.com \
--cc=xiaoyun.li@intel.com \
--cc=yuying.zhang@intel.com \
/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).