i40evf: create a generic config RSS function
authorHelin Zhang <helin.zhang@intel.com>
Tue, 27 Oct 2015 20:15:06 +0000 (16:15 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 2 Dec 2015 06:39:45 +0000 (22:39 -0800)
commit2c86ac3c70794f0ecc3684b0ae0fd75b0cf0c1f6
treeb4814525debd6700d5cef794eb3d7dda470edb81
parent96a8198652e5b80a2cfc87397a3512bf8e45cd63
i40evf: create a generic config RSS function

There are two ways to configure RSS, this patch adjusts those two
functions with the same input parameters, and creates a more
generic function for configuring RSS.

Change-ID: Iace73bdeba4831909979bef221011060ab327f71
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