diff options
author | Govindarajulu Varadarajan <_govind@gmx.com> | 2014-12-10 13:40:23 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-10 14:41:48 -0500 |
commit | 4f675eb2a736dfb65d68a00ff38e9342252eeabc (patch) | |
tree | d4cc906539c74be231e0d4c26174e52bb99e1900 /drivers/net/ethernet/cisco/enic/enic.h | |
parent | 7dbea3e8662eb491e9da109cf8ffc372e160fe9a (diff) | |
download | blackbird-op-linux-4f675eb2a736dfb65d68a00ff38e9342252eeabc.tar.gz blackbird-op-linux-4f675eb2a736dfb65d68a00ff38e9342252eeabc.zip |
enic: add support for set/get rss hash key
This patch adds support for setting/getting rss hash key using ethtool.
v2:
respin patch to support RSS hash function changes.
Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cisco/enic/enic.h')
-rw-r--r-- | drivers/net/ethernet/cisco/enic/enic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cisco/enic/enic.h b/drivers/net/ethernet/cisco/enic/enic.h index 5ba5ad071bb6..25c4d88853d8 100644 --- a/drivers/net/ethernet/cisco/enic/enic.h +++ b/drivers/net/ethernet/cisco/enic/enic.h @@ -187,6 +187,7 @@ struct enic { unsigned int cq_count; struct enic_rfs_flw_tbl rfs_h; u32 rx_copybreak; + u8 rss_key[ENIC_RSS_LEN]; }; static inline struct device *enic_get_dev(struct enic *enic) @@ -246,5 +247,6 @@ int enic_sriov_enabled(struct enic *enic); int enic_is_valid_vf(struct enic *enic, int vf); int enic_is_dynamic(struct enic *enic); void enic_set_ethtool_ops(struct net_device *netdev); +int __enic_set_rsskey(struct enic *enic); #endif /* _ENIC_H_ */ |