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)
commit4e9dc31f696ae89f0b8a13b69b7b16472866d110
tree753c81feed56a9c9405446deaaeb7b2adb2ec80c
parent1315f7c34e08f50b0d710168c2d98fb4766a7f5d
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