]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: read back RX hash config from the NIC when querying it with ethtool -x
authorEdward Cree <ecree@solarflare.com>
Tue, 17 Jan 2017 12:02:12 +0000 (12:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jan 2017 20:49:52 +0000 (15:49 -0500)
commit075182365ab901fdc5a717e02caba4e5349d65c6
tree96ef17cb3a7add82649c6c0ed61ae32fb40ce357
parent13d1a1b644e8a471cb10c052d7c045ee12c284d9
sfc: read back RX hash config from the NIC when querying it with ethtool -x

Ensures that we report the key and indirection table the NIC is using,
 rather than (if setting them failed earlier) what we wanted it to use.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c
drivers/net/ethernet/sfc/ethtool.c
drivers/net/ethernet/sfc/farch.c
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/nic.h
drivers/net/ethernet/sfc/siena.c