DPDK patches and discussions
 help / color / mirror / Atom feed
From: Raghavan V <Raghavan.V2@tatacommunications.com>
To: "dev@dpdk.org" <dev@dpdk.org>, "users@dpdk.org" <users@dpdk.org>
Subject: FDIR packet distribution with specific multiple RX queues.
Date: Thu, 18 Jul 2024 11:36:43 +0000	[thread overview]
Message-ID: <TYZPR04MB54167C8310DB1191A38631F3C8AC2@TYZPR04MB5416.apcprd04.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 956 bytes --]

Hi Team,

Is there any way to distribute packets evenly (Like RSS) to specific multiple RX queues in RTE_FLOW_ACTION_TYPE_QUEUE DPDK Flow director?

Desired action:

uint16_t queue_indices[] = {10, 11, 12, 13, 14, 15};
struct rte_flow_action_queue queue = {.index = queue_indices};
struct rte_flow_action action[]={
    [0]={.type = RTE_FLOW_ACTION_TYPE_QUEUE,.conf = &queue},
    [1]={.type = RTE_FLOW_ACTION_TYPE_END}
};
Is this action limited to drivers specific?

Example:
I have 40 RX queues I need to match an IP address pattern and the matching packets should direct to 1-10 RX queue indices.


If not, please suggest a way to direct packets that matches a particular pattern to specific multiple RX queues without the use of RSS.
I need the matching packets to distribute evenly to specific RX queues and not the duplicates. I'm using Intel x710 NIC i40e and DPDK 20.11.

Can anyone help on this query.

Thanks,
Raghavan V

[-- Attachment #2: Type: text/html, Size: 5849 bytes --]

             reply	other threads:[~2024-07-18 13:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-18 11:36 Raghavan V [this message]
2024-07-18 15:36 ` Stephen Hemminger
2024-07-18 16:39   ` Raghavan V
2024-07-18 17:28     ` Stephen Hemminger

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=TYZPR04MB54167C8310DB1191A38631F3C8AC2@TYZPR04MB5416.apcprd04.prod.outlook.com \
    --to=raghavan.v2@tatacommunications.com \
    --cc=dev@dpdk.org \
    --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).