]> git.baikalelectronics.ru Git - kernel.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)
commitcd9f8fe067b57bba5824f31ad6dd9c4c6501bd38
tree4471a1d7a5da3d51c9be8c82b6b3a85d873ab323
parent043e92916f521490600cd391ac1750d625eb3fc8
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