[dpdk-users] Support for more RSS hash types in vmxnet3

Stephen Hemminger stephen at networkplumber.org
Tue Aug 21 20:22:32 CEST 2018


On Tue, 21 Aug 2018 13:57:08 -0400
Jay Miller <jay.miller at oracle.com> 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?

Did you test, I suspect that VMWare supports that already.
The values in the API to the host are:

/* value of RxCompDesc.rssType */
enum {
	VMXNET3_RCD_RSS_TYPE_NONE     = 0,
	VMXNET3_RCD_RSS_TYPE_IPV4     = 1,
	VMXNET3_RCD_RSS_TYPE_TCPIPV4  = 2,
	VMXNET3_RCD_RSS_TYPE_IPV6     = 3,
	VMXNET3_RCD_RSS_TYPE_TCPIPV6  = 4,
};


> The documentation could be more explicit about these limitations:
> 
> >>
> >>     36.2. Features and Limitations of VMXNET3 PMD
> >>
> >> In release 1.6.0, the VMXNET3 PMD provides the basic functionality of 
> >> packet reception and transmission. There are several options 
> >> available for filtering packets at VMXNET3 device level including:
> >>
> >>  1. *MAC Address based filtering*:
> >>       * Unicast, Broadcast, All Multicast modes - SUPPORTED BY DEFAULT
> >>       * Multicast with Multicast Filter table - NOT SUPPORTED
> >>       * Promiscuous mode - SUPPORTED
> >>       * *RSS based load balancing between queues - SUPPORTED*
> >>  
> >  
> 
> Thanks,
> J
> 



More information about the users mailing list