summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e/i40e.h
diff options
context:
space:
mode:
authorMitch A Williams <mitch.a.williams@intel.com>2015-03-05 04:14:40 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-03-09 10:53:37 -0700
commitb29e13bb9198d2a79ab3370eb1d3ed69a05de61f (patch)
treefc6963d725221d9b44ee21803536dee997981441 /drivers/net/ethernet/intel/i40e/i40e.h
parentec7a06fd6d6822db287e59d67362b2207cf42ca9 (diff)
downloadblackbird-op-linux-b29e13bb9198d2a79ab3370eb1d3ed69a05de61f.tar.gz
blackbird-op-linux-b29e13bb9198d2a79ab3370eb1d3ed69a05de61f.zip
i40e: add ethtool RSS support
Add support for setting the RSS hash table and hash key through ethtool. This patch incorporates suggestions from Ben Hutchings <ben.hutchings@codethink.co.uk>. Reported-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e.h')
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e.h b/drivers/net/ethernet/intel/i40e/i40e.h
index cc3f23685430..1c8bd7c152c2 100644
--- a/drivers/net/ethernet/intel/i40e/i40e.h
+++ b/drivers/net/ethernet/intel/i40e/i40e.h
@@ -177,6 +177,8 @@ struct i40e_lump_tracking {
#define I40E_FDIR_BUFFER_HEAD_ROOM 32
#define I40E_FDIR_BUFFER_HEAD_ROOM_FOR_ATR (I40E_FDIR_BUFFER_HEAD_ROOM * 4)
+#define I40E_HKEY_ARRAY_SIZE ((I40E_PFQF_HKEY_MAX_INDEX + 1) * 4)
+
enum i40e_fd_stat_idx {
I40E_FD_STAT_ATR,
I40E_FD_STAT_SB,
OpenPOWER on IntegriCloud