[dpdk-dev] [PATCH] app/testpmd: support unequal number of RXQ and TXQ
Stephen Hemminger
stephen at networkplumber.org
Sun Aug 20 17:49:20 CEST 2023
On Wed, 11 Dec 2019 15:56:17 +0530
Jerin Jacob <jerinjacobk at gmail.com> wrote:
> >
> > > -----Original Message-----
> > > From: dev <dev-bounces at dpdk.org> On Behalf Of Hemant Agrawal
> > > Sent: Wednesday, December 11, 2019 5:30 AM
> > > To: dev at dpdk.org
> > > Cc: Jun Yang <jun.yang at nxp.com>
> > > Subject: [dpdk-dev] [PATCH] app/testpmd: support unequal number of RXQ and TXQ
> > >
> > > From: Jun Yang <jun.yang at nxp.com>
> > >
> > > The existing forwarding mode usages the total number of
> > > queues as the minimum of rxq and txq.
> > > It finds the txq as the same index as rxq.
> > > However in some scenarios, specially for flow control
> > > the number of rxq and txq can be different.
> > > This patch maxes the txq and function of rxq for all such
> > > scenario instead of keeping 1:1 relationship between the two.
> > >
> > > Now packets from all RXQs can be forwarded to TXQs
>
> Allow this feature only for DEV_TX_OFFLOAD_MT_LOCKFREE devices.
> Please probe DEV_TX_OFFLOAD_MT_LOCKFREE() capability first to
> avoid breaking contract on the other devices.
>
> > >
Dropping this version of the patch. Please resubmit a new version
with the lock free check.
More information about the dev
mailing list