]> git.baikalelectronics.ru Git - kernel.git/commit
vmxnet3: allow rx flow hash ops only when rss is enabled
authorRonak Doshi <doshir@vmware.com>
Tue, 2 Jun 2020 03:02:39 +0000 (20:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jun 2020 22:12:33 +0000 (15:12 -0700)
commit6266dee7e113d3cdbc1fbc5f17bbd39e79c825d1
tree9c4abdca674a55f1f04314bab19617be054102a2
parent99b3f086ded0dbaa385c40926eba5b316c601d0a
vmxnet3: allow rx flow hash ops only when rss is enabled

It makes sense to allow changes to get/set rx flow hash callback only
when rss is enabled. This patch restricts get_rss_hash_opts and
set_rss_hash_opts methods to allow querying and configuring different
Rx flow hash configurations only when rss is enabled

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