DPDK usage discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Nandini Rangaswamy <nandini.rangaswamy@broadcom.com>
Cc: Long Li <longli@microsoft.com>, users@dpdk.org
Subject: Re: configuring RSS offloads with Netvsc PMD
Date: Wed, 28 Aug 2024 12:05:09 -0700	[thread overview]
Message-ID: <20240828120509.68d06992@hermes.local> (raw)
In-Reply-To: <CAAkQrK9tfe7BOOz2S0JsVmyCQC30hLYHpvS7mXC13Z+CkaWp3w@mail.gmail.com>

On Wed, 28 Aug 2024 10:32:17 -0700
Nandini Rangaswamy <nandini.rangaswamy@broadcom.com> wrote:

> Hi Long and Stephen,
> I am trying to configure RSS offloads from my DPDK App with netvsc PMD.
> Netvsc seems to be supporting the following offloads:
> RTE_ETH_RSS_NONFRAG_IPV4_UDP RTE_ETH_RSS_NONFRAG_IPV4_TCP
> RTE_ETH_RSS_NONFRAG_IPV6_TCP RTE_ETH_RSS_IPV4
> RTE_ETH_RSS_IPV6
> 
> However, the app is trying to configure the following offloads and failing:
> 
> RTE_ETH_RSS_NONFRAG_IPV4_UDP
> RTE_ETH_RSS_NONFRAG_IPV4_TCP
> RTE_ETH_RSS_NONFRAG_IPV6_TCP
> RTE_ETH_RSS_NONFRAG_IPV6_UDP

Confusing, both of these overlap should work.
Please instrument the configure code in netvsc to see why it is complaining.

> 
> Is it possible to bypass the netvsc PMD and configure these offloads on VF
> ? I am aware that app should not directly program the VF interface
> but for performance sake, I want the above offloads to be supported on VF.

No can't bypass driver.

You do need to configure multiqueue and enable RSS in configure
to get anything.

If you look at hn_rss_hash_init, the driver needs to convert the
requested flags into NDIS flags to tell the host what to do.

  reply	other threads:[~2024-08-28 19:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-28 17:32 Nandini Rangaswamy
2024-08-28 19:05 ` Stephen Hemminger [this message]
2024-08-29 16:11   ` Nandini Rangaswamy
2024-09-03 16:28     ` Nandini Rangaswamy
2024-09-03 17:10       ` 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=20240828120509.68d06992@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=longli@microsoft.com \
    --cc=nandini.rangaswamy@broadcom.com \
    --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).