be2net: Support for configurable RSS hash key
authorVenkata Duvvuru <VenkatKumar.Duvvuru@Emulex.Com>
Mon, 21 Apr 2014 10:08:00 +0000 (15:38 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Apr 2014 01:27:57 +0000 (21:27 -0400)
commite25578777facd498480d3376752ad21a23375849
tree1db7ef34b1f41cd3dfb837475823951d8a672763
parent3de0b592394d17b2c41a261a6a493a521213f299
be2net: Support for configurable RSS hash key

This be2net patch implements the get/set_rxfh() ethtool hooks.
RSS_CONFIG device command is invoked to set hashkey and indirection table.
It also uses an initial random value for RSS hash key instead of a
hard-coded value as hard-coded values for a hash-key are usually
considered a security risk.

Signed-off-by: Venkat Duvvuru <VenkatKumar.Duvvuru@Emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_cmds.h
drivers/net/ethernet/emulex/benet/be_ethtool.c
drivers/net/ethernet/emulex/benet/be_main.c