kernel_optimize_test/net/8021q
Paolo Abeni 18d3df3eab vlan: use a valid default mtu value for vlan over macsec
macsec can't cope with mtu frames which need vlan tag insertion, and
vlan device set the default mtu equal to the underlying dev's one.
By default vlan over macsec devices use invalid mtu, dropping
all the large packets.
This patch adds a netif helper to check if an upper vlan device
needs mtu reduction. The helper is used during vlan devices
initialization to set a valid default and during mtu updating to
forbid invalid, too bit, mtu values.
The helper currently only check if the lower dev is a macsec device,
if we get more users, we need to update only the helper (possibly
reserving an additional IFF bit).

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-07-16 20:15:02 -07:00
..
Kconfig
Makefile
vlan_core.c vlan: Do not put vlan headers back on bridge and macvlan ports 2015-11-17 14:38:35 -05:00
vlan_dev.c vlan: use a valid default mtu value for vlan over macsec 2016-07-16 20:15:02 -07:00
vlan_gvrp.c
vlan_mvrp.c
vlan_netlink.c vlan: use a valid default mtu value for vlan over macsec 2016-07-16 20:15:02 -07:00
vlan.c vlan: Propagate MAC address to VLANs 2016-05-31 11:56:48 -07:00
vlan.h vlan: Propagate MAC address to VLANs 2016-05-31 11:56:48 -07:00
vlanproc.c vlan: change return type of vlan_proc_rem_dev 2016-02-17 22:06:28 -05:00
vlanproc.h vlan: change return type of vlan_proc_rem_dev 2016-02-17 22:06:28 -05:00