vmxnet3: add support to get/set rx flow hash
authorRonak Doshi <doshir@vmware.com>
Thu, 28 May 2020 21:53:20 +0000 (14:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 23:26:48 +0000 (16:26 -0700)
commitd3a8a9e5c3b334d443e97daa59bb95c0b69f4794
tree8dc34ee16c625d2db24d66c01524e4e2a5fe7fee
parent123db31d01219a4f794f3769e7bca6649d65ecb1
vmxnet3: add support to get/set rx flow hash

With vmxnet3 version 4, the emulation supports multiqueue(RSS) for
UDP and ESP traffic. A guest can enable/disable RSS for UDP/ESP over
IPv4/IPv6 by issuing commands introduced in this patch. ESP ipv6 is
not yet supported in this patch.

This patch implements get_rss_hash_opts and set_rss_hash_opts
methods to allow querying and configuring different Rx flow hash
configurations.

Signed-off-by: Ronak Doshi <doshir@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vmxnet3/vmxnet3_defs.h
drivers/net/vmxnet3/vmxnet3_drv.c
drivers/net/vmxnet3/vmxnet3_ethtool.c
drivers/net/vmxnet3/vmxnet3_int.h