aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/emulex/benet/be_cmds.c
diff options
context:
space:
mode:
authorPadmanabh Ratnakar <padmanabh.ratnakar@emulex.com>2011-11-25 00:48:38 -0500
committerDavid S. Miller <davem@davemloft.net>2011-11-26 14:52:29 -0500
commit65f8584e253f4676c8b39e976a10e918ec984b7c (patch)
tree127c9dee3c14048f89f657d578c073cb81c5225d /drivers/net/ethernet/emulex/benet/be_cmds.c
parentd8110f62c020ebc49108de57510a1482bfcbe86a (diff)
be2net: Use new hash key
This new hash key gives better distribution of packets across RX queues. Signed-off-by: Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be_cmds.c')
-rw-r--r--drivers/net/ethernet/emulex/benet/be_cmds.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_cmds.c b/drivers/net/ethernet/emulex/benet/be_cmds.c
index 7988798afb8a..62868ea48295 100644
--- a/drivers/net/ethernet/emulex/benet/be_cmds.c
+++ b/drivers/net/ethernet/emulex/benet/be_cmds.c
@@ -1669,8 +1669,9 @@ int be_cmd_rss_config(struct be_adapter *adapter, u8 *rsstable, u16 table_size)
1669{ 1669{
1670 struct be_mcc_wrb *wrb; 1670 struct be_mcc_wrb *wrb;
1671 struct be_cmd_req_rss_config *req; 1671 struct be_cmd_req_rss_config *req;
1672 u32 myhash[10] = {0x0123, 0x4567, 0x89AB, 0xCDEF, 0x01EF, 1672 u32 myhash[10] = {0x15d43fa5, 0x2534685a, 0x5f87693a, 0x5668494e,
1673 0x0123, 0x4567, 0x89AB, 0xCDEF, 0x01EF}; 1673 0x33cf6a53, 0x383334c6, 0x76ac4257, 0x59b242b2,
1674 0x3ea83c02, 0x4a110304};
1674 int status; 1675 int status;
1675 1676
1676 if (mutex_lock_interruptible(&adapter->mbox_lock)) 1677 if (mutex_lock_interruptible(&adapter->mbox_lock))