]> git.baikalelectronics.ru Git - kernel.git/commit
i40evf: support ethtool RSS options
authorMitch A Williams <mitch.a.williams@intel.com>
Tue, 1 Apr 2014 04:43:49 +0000 (04:43 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 28 Apr 2014 11:03:53 +0000 (04:03 -0700)
commitc926ce3727ff819ae629f77a7106c1202207c3c9
tree753c81feed56a9c9405446deaaeb7b2adb2ec80c
parentc35ba4fb56837e6978d79a6380fa6b8fe7861ed6
i40evf: support ethtool RSS options

Add support for getting and setting RSS hashing options, RSS LUT
entries, and getting the number of device channels from ethtool. Because
the LUT is so small for the VFs, we just read and write the device
registers directly instead of maintaining a shadow copy.

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c