diff options
author | Xue Chaojing <xuechaojing@huawei.com> | 2019-06-18 09:20:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-19 04:52:27 +0300 |
commit | 4fdc51bb4e92e1d7d55be2699eaf17c9c11d4004 (patch) | |
tree | 9170d87e563fb7623e60fc7aa307b9e4f3fe8a4c /drivers/net/ethernet/huawei/hinic/hinic_dev.h | |
parent | eb8ce9ac167146b0679859ba69c492ee1403a0f0 (diff) | |
download | linux-4fdc51bb4e92e1d7d55be2699eaf17c9c11d4004.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/huawei/hinic/hinic_dev.h')
-rw-r--r-- | drivers/net/ethernet/huawei/hinic/hinic_dev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/huawei/hinic/hinic_dev.h b/drivers/net/ethernet/huawei/hinic/hinic_dev.h index af73b12e6341..a209b14160cc 100644 --- a/drivers/net/ethernet/huawei/hinic/hinic_dev.h +++ b/drivers/net/ethernet/huawei/hinic/hinic_dev.h @@ -76,6 +76,8 @@ struct hinic_dev { u16 num_rss; u16 rss_limit; struct hinic_rss_type rss_type; + u8 *rss_hkey_user; + s32 *rss_indir_user; }; #endif |