]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6d73453035a9bfe307f55fb11c69eb21ae984e72
tree6991157aa60459950f49f089f0659142b01fd8fc
parent2d09dbde92c80233e811ecbde88c9ba525151abe
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