]> 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)
commit1e54a6fcadff767486f363fb6e891fa190e98342
tree4471a1d7a5da3d51c9be8c82b6b3a85d873ab323
parent405e9b7f5134efc1a19d8e367339a0fdd8536742
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