]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit470793a78ce344bd53d31e0c2d537f71ba957547
tree994fdce45471d70e531eb6bd3ec6067661fc5fb3
parente3f89f91e98ce07dc0f121a3b70d21aca749ba39
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: 1738cd3ed342 ("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