projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4099e01
)
tg3: Add GRO support.
author
David S. Miller
<davem@davemloft.net>
Sun, 29 Mar 2009 08:39:49 +0000
(
01:39
-0700)
committer
David S. Miller
<davem@davemloft.net>
Sun, 29 Mar 2009 08:39:49 +0000
(
01:39
-0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/tg3.c
b/drivers/net/tg3.c
index f7efcecc4108f44e8fcdb26a83bb653a17660a36..1205c2a22657cc22dba58547b29abb5df25cd0be 100644
(file)
--- a/
drivers/net/tg3.c
+++ b/
drivers/net/tg3.c
@@
-4392,7
+4392,7
@@
static void tg3_recycle_rx(struct tg3 *tp, u32 opaque_key,
#if TG3_VLAN_TAG_USED
static int tg3_vlan_rx(struct tg3 *tp, struct sk_buff *skb, u16 vlan_tag)
{
- return vlan_
hwaccel_receive_skb(skb, tp->vlgrp, vlan_tag
);
+ return vlan_
gro_receive(&tp->napi, tp->vlgrp, vlan_tag, skb
);
}
#endif
@@
-4539,7
+4539,7
@@
static int tg3_rx(struct tg3 *tp, int budget)
desc->err_vlan & RXD_VLAN_MASK);
} else
#endif
- n
etif_receive_skb(
skb);
+ n
api_gro_receive(&tp->napi,
skb);
received++;
budget--;