projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92cd3a1
)
tg3: Remove short DMA check for 1st fragment
author
Matt Carlson
<mcarlson@broadcom.com>
Wed, 27 Jul 2011 14:20:48 +0000
(14:20 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 28 Jul 2011 05:39:31 +0000
(22:39 -0700)
The first fragment of an skb should always be greater than 8 bytes.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
patch
|
blob
|
history
diff --git
a/drivers/net/tg3.c
b/drivers/net/tg3.c
index 8dfde34b24153168886d1336ce369731f1fcee85..0f5bcf79d72721bdb9243a485c215d4fd740ca06 100644
(file)
--- a/
drivers/net/tg3.c
+++ b/
drivers/net/tg3.c
@@
-6168,9
+6168,6
@@
static netdev_tx_t tg3_start_xmit(struct sk_buff *skb, struct net_device *dev)
would_hit_hwbug = 0;
- if (tg3_flag(tp, SHORT_DMA_BUG) && len <= 8)
- would_hit_hwbug = 1;
-
if (tg3_4g_overflow_test(mapping, len))
would_hit_hwbug = 1;