]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Add VLAN offload features to hw_enc_features
authorAviv Heller <avivh@mellanox.com>
Thu, 17 Aug 2017 13:44:16 +0000 (16:44 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 26 Mar 2018 20:47:16 +0000 (13:47 -0700)
commit30e5d011ea845b7c5acfbc2b91a00c5dd4775928
tree247a87aba68ee5d0e4f0f4a23d0c138d5929b187
parent74291721d3adbf45752ba699bf2fb337eef59c9e
net/mlx5e: Add VLAN offload features to hw_enc_features

We support outer VLAN offload in driver and HW regardless of whether
an encapsulation is present in the next headers.

Exposing this in hw_enc_features will allow us to offload outer VLANs
in cases where encapsulation protocols like VXLAN and IPsec are used.

Signed-off-by: Aviv Heller <avivh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c