Commit 6da5912
FogBugz #171833: Strip VLAN tags in EMAC Receive path so GRO works as expected
The EMAC driver was advertising the NETIF_F_HW_VLAN_TAG_RX feature flag,
which indicates that the hardware supports VLAN tag stripping in receive
frames, but the hardware does not support VLAN tag stripping, and the
driver was not stripping the VLANs either. This causes a slow processing
path to be taken in the GRO portion of the stack's receive processing,
drastically impacting receive performance. The fix is for the driver to
detect and strip the VLAN tag correctly, and correctly setting any
detected and received VLAN tag into the skb.
Signed-off-by: Vince Bridgers <[email protected]>1 parent 7850c5f commit 6da5912
1 file changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1994 | 1994 | | |
1995 | 1995 | | |
1996 | 1996 | | |
| 1997 | + | |
| 1998 | + | |
| 1999 | + | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
| 2004 | + | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
| 2008 | + | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + | |
1997 | 2012 | | |
1998 | 2013 | | |
1999 | 2014 | | |
| |||
2099 | 2114 | | |
2100 | 2115 | | |
2101 | 2116 | | |
| 2117 | + | |
| 2118 | + | |
2102 | 2119 | | |
2103 | 2120 | | |
2104 | 2121 | | |
| |||
0 commit comments