From: Yong Wang <yongwang@vmware.com>
To: Iain Barker <iain.barker@oracle.com>,
Ferruh Yigit <ferruh.yigit@intel.com>,
Jay Miller <jay.miller@oracle.com>,
"users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Support for more RSS hash types in vmxnet3
Date: Mon, 18 Mar 2019 20:09:59 +0000 [thread overview]
Message-ID: <67493038-4AA5-43B7-9698-EF5CF510448C@vmware.com> (raw)
In-Reply-To: <6857622f-701e-47a4-a4d0-ce2f8cd06742@default>
-----Original Message-----
From: Iain Barker <iain.barker@oracle.com> on behalf of Iain Barker <iain.barker@oracle.com>
Date: Monday, March 18, 2019 at 6:58 AM
To: Yong Wang <yongwang@vmware.com>, Ferruh Yigit <ferruh.yigit@intel.com>, Jay Miller <jay.miller@oracle.com>, "users@dpdk.org" <users@dpdk.org>
Subject: RE: [dpdk-users] Support for more RSS hash types in vmxnet3
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
Iain,
We do plan to upstream the change to support the new RSS types in the near future. Currently it's still under internal testing.
Thanks,
Yong
prev parent reply other threads:[~2019-03-18 20:10 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
2019-03-18 20:09 ` Yong Wang [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=67493038-4AA5-43B7-9698-EF5CF510448C@vmware.com \
--to=yongwang@vmware.com \
--cc=ferruh.yigit@intel.com \
--cc=iain.barker@oracle.com \
--cc=jay.miller@oracle.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).