]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite2bb39ff3d998343f7a549dab1a9436aa60029d2
tree8dc34ee16c625d2db24d66c01524e4e2a5fe7fee
parent3ad1c2747685762907de4250b90648e7573c7d87
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