DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Balakrishnan K <Balakrishnan.K1@tatacommunications.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, "users@dpdk.org" <users@dpdk.org>
Subject: Re: is RSS and Flow director can work together
Date: Mon, 11 Mar 2024 08:46:24 -0700	[thread overview]
Message-ID: <20240311084624.30cbbb63@hermes.local> (raw)
In-Reply-To: <PSAPR04MB5516AE163BCD04B3419D8393D6242@PSAPR04MB5516.apcprd04.prod.outlook.com>

On Mon, 11 Mar 2024 09:17:01 +0000
Balakrishnan K <Balakrishnan.K1@tatacommunications.com> wrote:

> Hi All,
>     I want to use the dpdk application with RSS and flow director.
> is possible to use both at a time in application.
> In RSS, I am using
> action_rss_tcp.types = ETH_RSS_NONFRAG_IPV4_TCP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L3_DST_ONLY;
> to receive the similar traffic to same core.
> One specific case where I wanted to distribute the traffic across core, here the incoming traffic having same src and dst IP
> Example( src ip : 10.10.10.1 dst ip :20.20.20.2) .
> With RSS enabled all the traffic going to end up in one core ,where the remaining cores are being idle impacting the performance.
> Planning enable flow director and create rule to distribute the traffic for the combination src /dst ip (10.10.10.1 /20.20.20.2) along with RSS.
> 
> if RSS and flow rule having same criteria which one takes the priority .
> 
> Regards,
> Bala

You can do that with rte_flow action of rte_flow_action_rss.

  reply	other threads:[~2024-03-11 15:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-11  9:17 Balakrishnan K
2024-03-11 15:46 ` Stephen Hemminger [this message]
2024-03-12  5:38   ` Balakrishnan K

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=20240311084624.30cbbb63@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=Balakrishnan.K1@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).