hinic: add support for rss parameters with ethtool
authorXue Chaojing <xuechaojing@huawei.com>
Tue, 18 Jun 2019 06:20:53 +0000 (06:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Jun 2019 01:52:27 +0000 (21:52 -0400)
commit4fdc51bb4e92e1d7d55be2699eaf17c9c11d4004
tree9170d87e563fb7623e60fc7aa307b9e4f3fe8a4c
parenteb8ce9ac167146b0679859ba69c492ee1403a0f0
hinic: add support for rss parameters with ethtool

This patch adds support rss parameters with ethtool,
user can change hash key, hash indirection table, hash
function by ethtool -X, and show rss parameters by ethtool -x.

Signed-off-by: Xue Chaojing <xuechaojing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_dev.h
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h
drivers/net/ethernet/huawei/hinic/hinic_port.c
drivers/net/ethernet/huawei/hinic/hinic_port.h