summaryrefslogtreecommitdiff
path: root/drivers/pci/ats.c
diff options
context:
space:
mode:
authorAriel Levkovich <lariel@mellanox.com>2019-06-03 22:36:47 +0000
committerDavid S. Miller <davem@davemloft.net>2019-06-04 14:49:38 -0700
commit8b6912a5019356d7adb1b8a146c9eef5e679bf98 (patch)
tree32be9c902f0e31278dba8f4960ad9a9330d3b331 /drivers/pci/ats.c
parent2e770b507ccde8eedc129946e4b78ceed0a22df2 (diff)
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>
Diffstat (limited to 'drivers/pci/ats.c')
0 files changed, 0 insertions, 0 deletions