i40evf: create a generic get RSS function
authorHelin Zhang <helin.zhang@intel.com>
Mon, 26 Oct 2015 23:44:33 +0000 (19:44 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 2 Dec 2015 06:40:44 +0000 (22:40 -0800)
commit90b02b4392eb9778265ec6b4fef034010a937910
treea04ad8efed39405f2d909b7f2f48e0811f7a0d86
parent2c86ac3c70794f0ecc3684b0ae0fd75b0cf0c1f6
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>
drivers/net/ethernet/intel/i40evf/i40evf.h
drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c
drivers/net/ethernet/intel/i40evf/i40evf_main.c