ixgbe: update the rss key on h/w, when ethtool ask for it
authorPaolo Abeni <pabeni@redhat.com>
Thu, 15 Dec 2016 14:20:34 +0000 (15:20 +0100)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 3 Mar 2017 01:19:17 +0000 (17:19 -0800)
commitd3aa9c9f212a729e46653d4c1eb6a9ab190efe3a
tree6991157aa60459950f49f089f0659142b01fd8fc
parent9f674e48c13dcbc31ac903433727837795b81efe
ixgbe: update the rss key on h/w, when ethtool ask for it

Currently ixgbe_set_rxfh() updates the rss_key copy in the driver
memory, but does not push the new value into the h/w. This commit
add a new helper for the latter operation and call it in
ixgbe_set_rxfh(), so that the h/w rss key value can be really
updated via ethtool.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c