summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
diff options
context:
space:
mode:
authorRoi Dayan <roid@nvidia.com>2021-04-13 14:35:22 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-06-02 04:30:20 +0300
commitafe93f71b5d3cdae7209213ec8ef25210b837b93 (patch)
treecb9e26f1a7c7e0ab6bc9e208b5c6abdfdd40ed91 /drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
parent5940e64281c09976ce2b560244217e610bf9d029 (diff)
downloadlinux-afe93f71b5d3cdae7209213ec8ef25210b837b93.tar.xz
net/mlx5e: Check for needed capability for cvlan matching
If not supported show an error and return instead of trying to offload to the hardware and fail. Fixes: 699e96ddf47f ("net/mlx5e: Support offloading tc double vlan headers match") Reported-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Roi Dayan <roid@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c')
0 files changed, 0 insertions, 0 deletions