ixgbevf: Add the appropriate ethtool ops to query RSS indirection table and key
authorVlad Zolotarov <vladz@cloudius-systems.com>
Mon, 30 Mar 2015 18:35:29 +0000 (21:35 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 11 Apr 2015 18:50:28 +0000 (11:50 -0700)
commitb641173915ae7b51c79abfde9580c3a381876bb1
tree804ab6101fe91b4f6bcba1f6c7a2380f29a34126
parentad1431e2db5590bcc32ded8a27b3b5c0ced9add7
ixgbevf: Add the appropriate ethtool ops to query RSS indirection table and key

Added get_rxfh_indir_size, get_rxfh_key_size and get_rxfh ethtool_ops
callbacks implementations.

This enables the ethtool's "-x" and "--show-rxfh[-indir]" options for VF
devices.

This patch adds the support for 82599 and x540 devices only. Support for
other devices will be added later.

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ethtool.c