]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit71186172b71fe7266eaa768f028c20725202dfd5
tree247a87aba68ee5d0e4f0f4a23d0c138d5929b187
parentbe0f780bc50a00216ca9c7dc63485e2fc31bf8c8
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