summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40evf/i40evf.h
diff options
context:
space:
mode:
authorHelin Zhang <helin.zhang@intel.com>2015-10-27 00:44:33 +0100
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-12-02 07:40:44 +0100
commit90b02b4392eb9778265ec6b4fef034010a937910 (patch)
treea04ad8efed39405f2d909b7f2f48e0811f7a0d86 /drivers/net/ethernet/intel/i40evf/i40evf.h
parenti40evf: create a generic config RSS function (diff)
downloadlinux-90b02b4392eb9778265ec6b4fef034010a937910.tar.xz
linux-90b02b4392eb9778265ec6b4fef034010a937910.zip
i40evf: create a generic get RSS function
There are two ways to get RSS, this patch implements two functions with the same input parameters, and creates a more generic function for getting RSS configuration. Change-ID: I12d3b712c21455d47dd0a5aae58fc9b7c680db59 Signed-off-by: Helin Zhang <helin.zhang@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40evf/i40evf.h')
-rw-r--r--drivers/net/ethernet/intel/i40evf/i40evf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40evf/i40evf.h b/drivers/net/ethernet/intel/i40evf/i40evf.h
index b5aa377fb8ae..5f2e61dc20ec 100644
--- a/drivers/net/ethernet/intel/i40evf/i40evf.h
+++ b/drivers/net/ethernet/intel/i40evf/i40evf.h
@@ -316,4 +316,6 @@ void i40evf_virtchnl_completion(struct i40evf_adapter *adapter,
i40e_status v_retval, u8 *msg, u16 msglen);
int i40evf_config_rss(struct i40e_vsi *vsi, const u8 *seed, u8 *lut,
u16 lut_size);
+int i40evf_get_rss(struct i40e_vsi *vsi, const u8 *seed, u8 *lut,
+ u16 lut_size);
#endif /* _I40EVF_H_ */