DPDK patches and discussions
 help / color / mirror / Atom feed
From: Dmitry Kozlyuk <dkozlyuk@nvidia.com>
To: dev <dev@dpdk.org>
Cc: Xiaoyun Li <xiaoyun.li@intel.com>,
	Aman Singh <aman.deep.singh@intel.com>
Subject: testpmd behavior with stopped queues
Date: Thu, 9 Dec 2021 14:10:56 +0000	[thread overview]
Message-ID: <MN2PR12MB3087FE423CB95EBE12929A7EB9709@MN2PR12MB3087.namprd12.prod.outlook.com> (raw)

Hello,

There are testpmd commands to start/stop RxQ/TxQ:
"port 1 rxq 0 stop", "port 1 txq 0 start", etc.
IIUC, when a queue is stopped, testpmd should ignore it.
Currently, it doesn't and tries to use the stopped queue.
If a RxQ is stopped, nothing will be send to the paired TxQ.
If a TxQ is stopped, there is nowhere to send the packets
from the paired RxQ, so it is logical to drop them.
I'm going to implement this behavior, any objections?

                 reply	other threads:[~2021-12-09 14:11 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=MN2PR12MB3087FE423CB95EBE12929A7EB9709@MN2PR12MB3087.namprd12.prod.outlook.com \
    --to=dkozlyuk@nvidia.com \
    --cc=aman.deep.singh@intel.com \
    --cc=dev@dpdk.org \
    --cc=xiaoyun.li@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).