cxgb3: FIx VLAN over Jumbo frames
authorDivy Le Ray <divy@chelsio.com>
Sat, 13 Feb 2010 09:44:30 +0000 (09:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2010 05:49:48 +0000 (21:49 -0800)
commit38a8fc0fcf86f131f8bddf3787f9dfa7325bd981
tree7cb8365ca766c7cbe1092f365ed50f12fdc0c792
parentd41a5b7da223f7a80844fb3e948e8d5e6181f214
cxgb3: FIx VLAN over Jumbo frames

The mac is expected to auto-inflate the Maximum Frame size for VLAN
tagged frames. It however does not work with jumbo frames.
Work around the bug adding 4 to the Maximum Frame for MTUs
greater than 1536.

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb3/xgmac.c