diff options
author | Michael Chan <mchan@broadcom.com> | 2007-05-03 16:22:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-05-03 16:22:28 -0400 |
commit | 4666f87a82cf74b63737a7f55a8b3b057a7b83df (patch) | |
tree | 67cc362f70fa70bb8218e91e46e82d3bd5f7b57e /drivers/net/bnx2.h | |
parent | 874bb672fdd939aec37ad3a06b50be4ff8b4feac (diff) |
[BNX2]: Add ipv6 TSO and checksum for 5709.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.h')
-rw-r--r-- | drivers/net/bnx2.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/bnx2.h b/drivers/net/bnx2.h index 8e7b29a3f930..70fb639b6f52 100644 --- a/drivers/net/bnx2.h +++ b/drivers/net/bnx2.h | |||
@@ -24,8 +24,11 @@ struct tx_bd { | |||
24 | u32 tx_bd_haddr_hi; | 24 | u32 tx_bd_haddr_hi; |
25 | u32 tx_bd_haddr_lo; | 25 | u32 tx_bd_haddr_lo; |
26 | u32 tx_bd_mss_nbytes; | 26 | u32 tx_bd_mss_nbytes; |
27 | #define TX_BD_TCP6_OFF2_SHL (14) | ||
27 | u32 tx_bd_vlan_tag_flags; | 28 | u32 tx_bd_vlan_tag_flags; |
28 | #define TX_BD_FLAGS_CONN_FAULT (1<<0) | 29 | #define TX_BD_FLAGS_CONN_FAULT (1<<0) |
30 | #define TX_BD_FLAGS_TCP6_OFF0_MSK (3<<1) | ||
31 | #define TX_BD_FLAGS_TCP6_OFF0_SHL (1) | ||
29 | #define TX_BD_FLAGS_TCP_UDP_CKSUM (1<<1) | 32 | #define TX_BD_FLAGS_TCP_UDP_CKSUM (1<<1) |
30 | #define TX_BD_FLAGS_IP_CKSUM (1<<2) | 33 | #define TX_BD_FLAGS_IP_CKSUM (1<<2) |
31 | #define TX_BD_FLAGS_VLAN_TAG (1<<3) | 34 | #define TX_BD_FLAGS_VLAN_TAG (1<<3) |
@@ -34,6 +37,7 @@ struct tx_bd { | |||
34 | #define TX_BD_FLAGS_END (1<<6) | 37 | #define TX_BD_FLAGS_END (1<<6) |
35 | #define TX_BD_FLAGS_START (1<<7) | 38 | #define TX_BD_FLAGS_START (1<<7) |
36 | #define TX_BD_FLAGS_SW_OPTION_WORD (0x1f<<8) | 39 | #define TX_BD_FLAGS_SW_OPTION_WORD (0x1f<<8) |
40 | #define TX_BD_FLAGS_TCP6_OFF4_SHL (12) | ||
37 | #define TX_BD_FLAGS_SW_FLAGS (1<<13) | 41 | #define TX_BD_FLAGS_SW_FLAGS (1<<13) |
38 | #define TX_BD_FLAGS_SW_SNAP (1<<14) | 42 | #define TX_BD_FLAGS_SW_SNAP (1<<14) |
39 | #define TX_BD_FLAGS_SW_LSO (1<<15) | 43 | #define TX_BD_FLAGS_SW_LSO (1<<15) |