]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Fix wrong limitation of metadata match on ecpf
authorAriel Levkovich <lariel@nvidia.com>
Fri, 28 Jan 2022 23:39:24 +0000 (01:39 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 24 Feb 2022 00:08:13 +0000 (16:08 -0800)
commitcb028623fa54ccfddecb5171b61ea4d1e8a39ffa
tree9b0577a235955d1ad948b4851d00ef3237ce6a21
parentdf11c74c36b8487f0b7941b1770864eb5b93633e
net/mlx5: Fix wrong limitation of metadata match on ecpf

Match metadata support check returns false for ecpf device.
However, this support does exist for ecpf and therefore this
limitation should be removed to allow feature such as stacked
devices and internal port offloaded to be supported.

Fixes: db1569c0fff6 ("net/mlx5: E-Switch, Enable vport metadata matching if firmware supports it")
Signed-off-by: Ariel Levkovich <lariel@nvidia.com>
Reviewed-by: Maor Dickman <maord@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c