[PATCH] ucc_geth: Add 8 bytes to max TX frame for VLANs

Joakim Tjernlund joakim.tjernlund at transmode.se
Sat Mar 22 22:51:41 EST 2008

>> -----Original Message-----
>> From: netdev-owner at vger.kernel.org
>> [mailto:netdev-owner at vger.kernel.org] On Behalf Of Joakim Tjernlund
> Sent: Tuesday, March 18, 2008 11:11 PM
>> To: Netdev; Li Yang
>> Cc: Joakim Tjernlund
>>Subject: [PATCH] ucc_geth: Add 8 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. Also add 4 extra bytes for future expansion.
> IMO, VLAN and Jumbo packet support is not general case of Ethernet.
> Could you make this change optional?  Thanks.
> - Leo 

hmm, I do not agree. VLAN is common today.

If you were to enable HW support for VLAN then the ethernet controller would inject an extra 4 bytes into the frame. 
This change does not change the visible MTU for the user. As is now, soft VLAN is silently broken. Do you
really want the user to find and turn on a controller specific feature to use VLAN?

What does netdev people think? 


More information about the Linuxppc-embedded mailing list