On Tue, Apr 21, 2020 at 04:12:16PM -0700, Chris Cappuccio wrote:
Tom Smyth [tom.sm...@wirelessconnect.eu] wrote:
Hi Chrisz,

4 bytes for the vlan header .. have you tried increasing the parent
intetface mtu by 4bytes


IFCAP_VLAN_MTU is a direct bypass for this. "hardmtu" on the parent interface
is perhaps more interesting as it will limit everything including these
encapsulations

IFAP_VLAN_MTU will affect how the hardmtu is passed on to vlan child interfaces. The vlan interfaces won't care for the parent's "soft" mtu AFAICS:

hardmtu = ifp0->if_hardmtu;
if (!ISSET(ifp0->if_capabilities, IFCAP_VLAN_MTU))
        hardmtu -= EVL_ENCAPLEN;

Linux uses a MTU of 1536 for Pegasus chips. We always default to a hardmtu of 1500. So the hardmtu can't be the cause for my interface not managing full-size vlan.

Christopher


--
http://gmerlin.de
OpenPGP: http://gmerlin.de/christopher.pub
CB07 DA40 B0B6 571D 35E2  0DEF 87E2 92A7 13E5 DEE1

Reply via email to