aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x.h
diff options
context:
space:
mode:
authorEliezer Tamir <eliezert@broadcom.com>2008-02-28 14:57:55 -0500
committerDavid S. Miller <davem@davemloft.net>2008-02-28 14:57:55 -0500
commit96fc1784007bf194399759e9b7d9c836c7bbda2a (patch)
treea6807c454b097b0642f83faeab35c3ee7db6dd91 /drivers/net/bnx2x.h
parente8717a47266b1527e620ddf262613b9d010bbbe7 (diff)
[BNX2X]: Fix Xmit bugs
Several endianity corrections in start_xmit() Fixed TSO bug where packets were missing the TCP flags. Signed-off-by: Eliezer Tamir <eliezert@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x.h')
-rw-r--r--drivers/net/bnx2x.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index 6a86afbc7525..4f0c0d31e7c1 100644
--- a/drivers/net/bnx2x.h
+++ b/drivers/net/bnx2x.h
@@ -869,6 +869,9 @@ struct bnx2x {
869#define PCICFG_LINK_SPEED_SHIFT 16 869#define PCICFG_LINK_SPEED_SHIFT 16
870 870
871#define BMAC_CONTROL_RX_ENABLE 2 871#define BMAC_CONTROL_RX_ENABLE 2
872
873#define pbd_tcp_flags(skb) (ntohl(tcp_flag_word(tcp_hdr(skb)))>>16 & 0xff)
874
872/* stuff added to make the code fit 80Col */ 875/* stuff added to make the code fit 80Col */
873 876
874#define TPA_TYPE_START ETH_FAST_PATH_RX_CQE_START_FLG 877#define TPA_TYPE_START ETH_FAST_PATH_RX_CQE_START_FLG