mbox series

[RFC,0/2] Support MPLS features in bonding and vlan net devices

Message ID 1558736809-23258-1-git-send-email-lariel@mellanox.com
Headers show
Series Support MPLS features in bonding and vlan net devices | expand

Message

Ariel Levkovich May 24, 2019, 10:27 p.m. UTC
Netdevice HW MPLS features are not passed from device driver's netdevice to
upper netdevice, specifically VLAN and bonding netdevice which are created
by the kernel when needed.

This prevents enablement and usage of HW offloads, such as TSO and checksumming
for MPLS tagged traffic when running via VLAN or bonding interface.

The patches introduce changes to the initialization steps of the VLAN and bonding
netdevices to inherit the MPLS features from lower netdevices to allow the HW
offloads.

Ariel Levkovich (2):
  net: bonding: Inherit MPLS features from slave devices
  net: vlan: Inherit MPLS features from parent device

 drivers/net/bonding/bond_main.c | 11 +++++++++++
 net/8021q/vlan_dev.c            |  1 +
 2 files changed, 12 insertions(+)