aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb4/t4_msg.h
diff options
context:
space:
mode:
authorDimitris Michailidis <dm@chelsio.com>2010-04-27 16:22:42 -0700
committerDavid S. Miller <davem@davemloft.net>2010-04-27 16:22:42 -0700
commit87b6cf51acb4999fff7e6841986874b108679cb4 (patch)
tree304fe476f4d3acd192ba7991d28b888845114586 /drivers/net/cxgb4/t4_msg.h
parentnet/sb1250: setup the pdevice within the soc code (diff)
downloadlinux-dev-87b6cf51acb4999fff7e6841986874b108679cb4.tar.xz
linux-dev-87b6cf51acb4999fff7e6841986874b108679cb4.zip
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.h1
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;