cxgb4: set skb->rxhash
commit87b6cf51acb4999fff7e6841986874b108679cb4
authorDimitris Michailidis <dm@chelsio.com>
Tue, 27 Apr 2010 23:22:42 +0000 (27 16:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Apr 2010 23:22:42 +0000 (27 16:22 -0700)
tree304fe476f4d3acd192ba7991d28b888845114586
parent8cd9b13207f9a38e4da2d69bba51eb8dcbe1ead9
cxgb4: set skb->rxhash

Implement the ->set_flags ethtool method to control NETIF_F_RXHASH and
set skb->rxhash to the HW calculated hash accordingly.

Follow Eric Dumazet's suggestion and use the hash value raw.

Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb4/cxgb4_main.c
drivers/net/cxgb4/sge.c
drivers/net/cxgb4/t4_msg.h