]> git.karo-electronics.de Git - linux-beck.git/commit
i40e: use configured RSS key and lookup table in i40e_vsi_config_rss
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 19 Jul 2016 23:23:31 +0000 (16:23 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 20 Aug 2016 04:20:22 +0000 (21:20 -0700)
commit552b996256241198a08005a91a206b402ac234f6
tree4471a1d7a5da3d51c9be8c82b6b3a85d873ab323
parent776b2e15f8af7900409456292efd45af6de97172
i40e: use configured RSS key and lookup table in i40e_vsi_config_rss

A previous refactor added support to store user configuration for VSIs,
so that extra VSIs such as for VMDq can use this information when
configuring. Unfortunately the i40e_vsi_config_rss function was missed
in this refactor, and the values were being ignored. Fix this by
checking for the fields and using those instead of always using the
default values.

Signed-off-by: Jacob Keller <jacob.e.keller@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_main.c