]> git.baikalelectronics.ru Git - kernel.git/commit
net: ena: make ena rxfh support ETH_RSS_HASH_NO_CHANGE
authorArthur Kiyanovski <akiyano@amazon.com>
Tue, 11 Feb 2020 15:17:49 +0000 (15:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Feb 2020 01:08:31 +0000 (17:08 -0800)
commit319656fd882e6e37a904bd91218e130dd73dbbf5
tree994fdce45471d70e531eb6bd3ec6067661fc5fb3
parent7a18ba4fa0212a100521c5397afa3a50890c2810
net: ena: make ena rxfh support ETH_RSS_HASH_NO_CHANGE

As the name suggests ETH_RSS_HASH_NO_CHANGE is received upon changing
the key or indirection table using ethtool while keeping the same hash
function.

Also add a function for retrieving the current hash function from
the ena-com layer.

Fixes: e59074db59c6 ("net: ena: Add a driver for Amazon Elastic Network Adapters (ENA)")
Signed-off-by: Sameeh Jubran <sameehj@amazon.com>
Signed-off-by: Saeed Bshara <saeedb@amazon.com>
Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_com.c
drivers/net/ethernet/amazon/ena/ena_com.h
drivers/net/ethernet/amazon/ena/ena_ethtool.c