aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/tg3.h
diff options
context:
space:
mode:
authorNithin Sujir <nsujir@broadcom.com>2013-07-29 16:58:39 -0400
committerDavid S. Miller <davem@davemloft.net>2013-07-30 02:38:52 -0400
commit378b72c873b4828cde5b4bc85c7029d98f8f1df4 (patch)
tree8a329c23cf5a0671b223372b29a6a6c115e72fe7 /drivers/net/ethernet/broadcom/tg3.h
parent92e6457d4cf68ef69bc4f98330c93e198df06a43 (diff)
tg3: Fix UDP fragments treated as RMCP
The 5762 devices sometimes incorrectly treat udp fragments as RMCP packets and route to the APE. This patch sets the RX_MODE_IPV4_FRAG_FIX bit for these devices which enables the proper behaviour. Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/tg3.h')
-rw-r--r--drivers/net/ethernet/broadcom/tg3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/tg3.h b/drivers/net/ethernet/broadcom/tg3.h
index 2e0f3d34ea5d..ddb8be1298ea 100644
--- a/drivers/net/ethernet/broadcom/tg3.h
+++ b/drivers/net/ethernet/broadcom/tg3.h
@@ -532,6 +532,7 @@
532#define RX_MODE_RSS_ITBL_HASH_BITS_7 0x00700000 532#define RX_MODE_RSS_ITBL_HASH_BITS_7 0x00700000
533#define RX_MODE_RSS_ENABLE 0x00800000 533#define RX_MODE_RSS_ENABLE 0x00800000
534#define RX_MODE_IPV6_CSUM_ENABLE 0x01000000 534#define RX_MODE_IPV6_CSUM_ENABLE 0x01000000
535#define RX_MODE_IPV4_FRAG_FIX 0x02000000
535#define MAC_RX_STATUS 0x0000046c 536#define MAC_RX_STATUS 0x0000046c
536#define RX_STATUS_REMOTE_TX_XOFFED 0x00000001 537#define RX_STATUS_REMOTE_TX_XOFFED 0x00000001
537#define RX_STATUS_XOFF_RCVD 0x00000002 538#define RX_STATUS_XOFF_RCVD 0x00000002