i40e: rework the functions to configure RSS with similar parameters
authorHelin Zhang <helin.zhang@intel.com>
Wed, 21 Oct 2015 23:56:22 +0000 (19:56 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 25 Nov 2015 18:05:58 +0000 (10:05 -0800)
commite69ff813af354ae445518d44e299eeb85d5037e2
treef6221e7e844ea1af0f8d20ed11d5f3ed43aca899
parent3e3aa21fe9265bdc45ff795dbcc90bcdd2f1017c
i40e: rework the functions to configure RSS with similar parameters

Adjust the RSS configure functions so that there is a generic way to
hook to ethtool hooks.

Change-ID: If446e34fcfaf1bc3320d9d319829a095b5976e67
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/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_main.c