linux/net/8021q
Ariel Levkovich 8b6912a501 net: vlan: Inherit MPLS features from parent device
During the creation of the VLAN interface net device,
the various device features and offloads are being set based
on the parent device's features.
The code initiates the basic, vlan and encapsulation features
but doesn't address the MPLS features set and they remain blank.
As a result, all device offloads that have significant performance
effect are disabled for MPLS traffic going via this VLAN device such
as checksumming and TSO.

This patch makes sure that MPLS features are also set for the
VLAN device based on the parent which will allow HW offloads of
checksumming and TSO to be performed on MPLS tagged packets.

Signed-off-by: Ariel Levkovich <lariel@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-06-04 14:49:38 -07:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile net: remove blank lines at end of file 2018-07-24 14:10:43 -07:00
vlan_core.c net: 8021q: move vlan offload registrations into vlan_core 2018-11-16 19:51:08 -08:00
vlan_dev.c net: vlan: Inherit MPLS features from parent device 2019-06-04 14:49:38 -07:00
vlan_gvrp.c net: vlan: prepare for 802.1ad support 2013-04-19 14:45:27 -04:00
vlan_mvrp.c net: vlan: prepare for 802.1ad support 2013-04-19 14:45:27 -04:00
vlan_netlink.c netlink: make validation more configurable for future strictness 2019-04-27 17:07:21 -04:00
vlan.c vlan: do not transfer link state in vlan bridge binding mode 2019-04-19 13:58:17 -07:00
vlan.h net: vlan: add support for tunnel offload 2018-11-07 22:23:30 -08:00
vlanproc.c proc: introduce proc_create_net{,_data} 2018-05-16 07:24:30 +02:00
vlanproc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00