net/mlx5: DR, Warn and ignore SW steering rule insertion on QP err
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Sun, 4 Jul 2021 08:57:38 +0000 (11:57 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 26 Aug 2021 22:38:01 +0000 (15:38 -0700)
commitd5a84e968f3dc6d9d95ed6bfd8a9be5228e13be9
tree17e93468ce8d058a9dcb67d46b3174ad5bf32c9a
parentf35715a6574707ecfeac795d451fccd751e614b5
net/mlx5: DR, Warn and ignore SW steering rule insertion on QP err

In the event of SW steering QP entering error state, SW steering
cannot insert more rules, and will silently ignore the insertion
after issuing a warning.

Signed-off-by: Yuval Avnery <yuvalav@mellanox.com>
Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Reviewed-by: Alex Vesker <valex@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h