diff options
author | Dimitris Michailidis <dm@chelsio.com> | 2010-04-27 16:22:42 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-27 16:22:42 -0700 |
commit | 87b6cf51acb4999fff7e6841986874b108679cb4 (patch) | |
tree | 304fe476f4d3acd192ba7991d28b888845114586 /drivers/net/cxgb4/t4_msg.h | |
parent | 8cd9b13207f9a38e4da2d69bba51eb8dcbe1ead9 (diff) | |
download | linux-87b6cf51acb4999fff7e6841986874b108679cb4.tar.bz2 |
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>
Diffstat (limited to 'drivers/net/cxgb4/t4_msg.h')
-rw-r--r-- | drivers/net/cxgb4/t4_msg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/cxgb4/t4_msg.h b/drivers/net/cxgb4/t4_msg.h index fdb117443144..7a981b81afaf 100644 --- a/drivers/net/cxgb4/t4_msg.h +++ b/drivers/net/cxgb4/t4_msg.h @@ -503,6 +503,7 @@ struct cpl_rx_data_ack { }; struct cpl_rx_pkt { + struct rss_header rsshdr; u8 opcode; #if defined(__LITTLE_ENDIAN_BITFIELD) u8 iff:4; |