DPDK usage discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: "Joshi, Venkatesh" <venkatesh.joshi@hpe.com>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Ref: Excluding certain Rx Queues from the RSS hashing algorithm
Date: Mon, 5 Apr 2021 08:11:17 -0700	[thread overview]
Message-ID: <20210405081117.7ec69e25@hermes.local> (raw)
In-Reply-To: <TU4PR8401MB0479318157552E5CEABF9DE2EC779@TU4PR8401MB0479.NAMPRD84.PROD.OUTLOOK.COM>

On Mon, 5 Apr 2021 03:10:21 +0000
"Joshi, Venkatesh" <venkatesh.joshi@hpe.com> wrote:

> Hi,
> 
> We use the following hardware/software in our product:
> 
> * CPU: Intel Xeon Silver 4210
> * NIC: XXV710-AM2
> * NIC Firmware: 7.3/8.0
> * Linux Kernel version: 4.14
> * DPDK version: 20.08
> * vfio-pci driver
> 
> Our DPDK application runs on 7 CPU threads. We have initialized 7 Rx Queues - one for each CPU thread.
> 
> We want to use one of the queues exclusively for traffic that matches Flow Director rules.
> And, we want that when the RSS hashing algorithm provides action as Enqueue - it should not use that queue during its computation.
> 
> Example: We initialize Rx Queues 0 to 6.
> Out of this, we want that Rx Queue 0 to 5 be used in the RSS hash algorithm when the action is enqueue.
> Rx Queue 6 should be kept out of the RSS hashing logic.
> 
> This is wrt the i40e driver.
> 
> Is this possible?
> 
> regards,
> venkatesh

The hashing logic relative to flow rules is confused in DPDK.
Have you tried programming two rules, one for the traffic you want, and the other at lower priority which
is a match any rule?

Also, fdir is deprecated in DPDK, please consider using rte_flow instead.

      reply	other threads:[~2021-04-05 15:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-05  3:10 Joshi, Venkatesh
2021-04-05 15:11 ` Stephen Hemminger [this message]

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=20210405081117.7ec69e25@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=users@dpdk.org \
    --cc=venkatesh.joshi@hpe.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).