]> nv-tegra.nvidia Code Review - linux-3.10.git/commit
ucc_geth: Add 16 bytes to max TX frame for VLANs
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>
Sun, 29 Apr 2012 22:36:55 +0000 (22:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 May 2012 00:09:04 +0000 (20:09 -0400)
commit70f8002d7813ffc5dd9ff3e9d01a17794fb4a4df
treeecaf94903e264f120fef757bd874bcf88b35688a
parent5bbdc057c270cc0d672ead03320ed8d7a11bac03
ucc_geth: Add 16 bytes to max TX frame for VLANs

Creating a VLAN interface on top of ucc_geth adds 4 bytes
to the frame and the HW controller is not prepared to
TX a frame bigger than 1518 bytes which is 4 bytes too
small for a full VLAN frame. Add 16 bytes which will handle
the a simple VLAN and leaves 12 bytes for future expansion.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/ucc_geth.c