OSDN Git Service

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)
commit07666c75ad17d7389b18ac0235c8cf41e1504ea8
tree9b0577a235955d1ad948b4851d00ef3237ce6a21
parent7f839965b2d77e1926ad08b23c51d60988f10a99
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: 92ab1eb392c6 ("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