net/mlx5: Lag, Update multiport eswitch check to log an error
authorRoi Dayan <roid@nvidia.com>
Mon, 28 Nov 2022 11:52:07 +0000 (13:52 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Sat, 4 Feb 2023 10:07:02 +0000 (02:07 -0800)
commit2afcfae77a0798fa0de4e575dc1ab202c153993c
treeda6550c25f3d8407688477f421e42476500eba33
parent042b7858d50f33af1f3569ad23f23afd5234b0f6
net/mlx5: Lag, Update multiport eswitch check to log an error

Update the function to log an error to the user if failing to offload
the rule and while there add correct prefix for the function name.

Signed-off-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Maor Dickman <maord@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/mirred.c
drivers/net/ethernet/mellanox/mlx5/core/lag/mpesw.c
drivers/net/ethernet/mellanox/mlx5/core/lag/mpesw.h