net/mlx5: Add API to set the namespace steering mode
authorMaor Gottlieb <maorg@mellanox.com>
Sun, 18 Aug 2019 16:15:22 +0000 (19:15 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 3 Sep 2019 19:54:24 +0000 (12:54 -0700)
commit38b9d1c62a6e9428048e4d080d2aabd0dc2e7f88
tree0d7dbd54191b3080795f3650f5623ab98ef9d42d
parent6a48faeeca10a57d13deb29069591fc20a6e8117
net/mlx5: Add API to set the namespace steering mode

Add API to set the flow steering root namesapce mode.
Setting new mode should be called before any steering operation
is executed on the namespace.
This API is going to be used by steering users such switchdev.

Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.h