net/mlx5: DR, Use FW API when updating FW-owned flow table
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Sun, 4 Jul 2021 14:29:01 +0000 (17:29 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 26 Aug 2021 22:38:02 +0000 (15:38 -0700)
commita01a43fa16e1d9e6810246e38aeb80c3dd645956
tree595e3e68c0da6b6a0a36efa9565f210b93204bbf
parentae3eddcff7aa6c162a425e1a772f4f6f2eeade01
net/mlx5: DR, Use FW API when updating FW-owned flow table

Need to call the DR API only when it is DR table.
To update FW-owned table the driver should call the FW API.

Signed-off-by: Erez Shitrit <erezsh@nvidia.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/fs_dr.c