From 4fdc51bb4e92e1d7d55be2699eaf17c9c11d4004 Mon Sep 17 00:00:00 2001 From: Xue Chaojing Date: Tue, 18 Jun 2019 06:20:53 +0000 Subject: 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 Signed-off-by: David S. Miller --- drivers/net/ethernet/huawei/hinic/hinic_dev.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/net/ethernet/huawei/hinic/hinic_dev.h') 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 -- cgit v1.2.3