From: Iain Barker <iain.barker@oracle.com>
To: Yong Wang <yongwang@vmware.com>,
Ferruh Yigit <ferruh.yigit@intel.com>,
Jay Miller <jay.miller@oracle.com>,
users@dpdk.org
Subject: Re: [dpdk-users] Support for more RSS hash types in vmxnet3
Date: Mon, 18 Mar 2019 06:58:03 -0700 (PDT) [thread overview]
Message-ID: <6857622f-701e-47a4-a4d0-ce2f8cd06742@default> (raw)
In-Reply-To: <DD85F4AA-2582-418A-8AF4-A824889FF411@vmware.com>
On 8/21/2018 6:57 PM, Jay Miller wrote:
> It's clear that the vmxnet3 driver (even as of 18.08) supports just a
> subset of RSS hash types:
>
> #define VMXNET3_RSS_OFFLOAD_ALL ( \
> ETH_RSS_IPV4 | \
> ETH_RSS_NONFRAG_IPV4_TCP | \
> ETH_RSS_IPV6 | \
> ETH_RSS_NONFRAG_IPV6_TCP)
>
> Are there plans to add support for other hash types (like
> ETH_RSS_NONFRAG_IPV4_UDP), or is this an architectural limitation of
> vmxnet3?
On August 22, 2018 at 2:55 AM, Ferruh Yigit wrote:
> Hi Yong,
>
> Can you please double check if the driver reports all supported hash functions
> correctly.
>
> On v18.08, the RSS hf request from application changed from best effort to
> strict requirement, meaning if an application request a hash function but driver
> doesn't report it as supported API will return an error, that is why it is
> important for PMD to report supported hf properly.
>
> Thanks,
> ferruh
On September 13, 2018 6:44 PM, Yong Wang wrote:
> That's pretty much all the hash types supported by vmxnet3 by default up to version 3.
> With version 4, UDP RSS will be supported but it's only supported on certain version of ESX.
> Since v4 driver is not out yet, current VMXNET3_RSS_OFFLOAD_ALL should be good.
Ferruh/Yong,
I notice that ESXi 6.7 has been released for some months now with support for VMXNET3 version 4 including with RSS for UDP
https://docs.vmware.com/en/vSphere/6.7/solutions/vSphere-6.7.2cd6d2a77980cc623caa6062f3c89362/GUID-C500585C0560D28B71180A40A4767C57.html
I'm surprised this wasn't already present in DPDK 19.02 given how long 6.7 has been available already.
Is it just a matter of changing the definition of VMXNET3_RSS_OFFLOAD_ALL in the PMD to support this, or are other changes required?
thanks.
Iain
next prev parent reply other threads:[~2019-03-18 13:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-21 14:03 [dpdk-users] vmxnet3 RSS implementation Jay Miller
2018-08-21 17:57 ` [dpdk-users] Support for more RSS hash types in vmxnet3 Jay Miller
2018-08-21 18:22 ` Stephen Hemminger
2018-08-22 9:55 ` Ferruh Yigit
2018-09-13 22:44 ` Yong Wang
2019-03-18 13:58 ` Iain Barker [this message]
2019-03-18 20:09 ` Yong Wang
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=6857622f-701e-47a4-a4d0-ce2f8cd06742@default \
--to=iain.barker@oracle.com \
--cc=ferruh.yigit@intel.com \
--cc=jay.miller@oracle.com \
--cc=users@dpdk.org \
--cc=yongwang@vmware.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).