summaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb4/t4_msg.h
diff options
context:
space:
mode:
authorDimitris Michailidis <dm@chelsio.com>2010-08-02 15:19:17 +0200
committerDavid S. Miller <davem@davemloft.net>2010-08-03 01:26:41 +0200
commitba5d3c66e02c3dac66a386b6af0dc9687a4dba67 (patch)
tree8193d85ea620f7322f1aeacfa2754fa7ff285fd5 /drivers/net/cxgb4/t4_msg.h
parentcxgb4: disable an interrupt that is neither used nor serviced (diff)
downloadlinux-ba5d3c66e02c3dac66a386b6af0dc9687a4dba67.tar.xz
linux-ba5d3c66e02c3dac66a386b6af0dc9687a4dba67.zip
cxgb4: don't offload Rx checksums for IPv6 fragments
The checksum provided by the device doesn't include the L3 headers, as IPv6 expects. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/cxgb4/t4_msg.h b/drivers/net/cxgb4/t4_msg.h
index 623932b39b5d..a550d0c706f3 100644
--- a/drivers/net/cxgb4/t4_msg.h
+++ b/drivers/net/cxgb4/t4_msg.h
@@ -529,6 +529,8 @@ struct cpl_rx_pkt {
__be32 l2info;
#define RXF_UDP (1 << 22)
#define RXF_TCP (1 << 23)
+#define RXF_IP (1 << 24)
+#define RXF_IP6 (1 << 25)
__be16 hdr_len;
__be16 err_vec;
};