]> git.baikalelectronics.ru Git - kernel.git/commit
net: ena: rss: fix failure to get indirection table
authorSameeh Jubran <sameehj@amazon.com>
Tue, 11 Feb 2020 15:17:45 +0000 (15:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Feb 2020 01:08:30 +0000 (17:08 -0800)
commitebbee0dea49b75ce6f9dae19b054749c309cfeb5
tree6f3f581c7e6f8158dfe2d3b723aa99fd24540d44
parentdedefab11eda60f99db06afc51bd5b6d50b03027
net: ena: rss: fix failure to get indirection table

On old hardware, getting / setting the hash function is not supported while
gettting / setting the indirection table is.

This commit enables us to still show the indirection table on older
hardwares by setting the hash function and key to NULL.

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