]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Pass a namespace for packet reformat ID allocation
authorMark Bloch <markb@mellanox.com>
Tue, 28 Aug 2018 11:18:48 +0000 (14:18 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Wed, 5 Sep 2018 05:11:18 +0000 (08:11 +0300)
commit87d8c444ab4d19df10da51867de64e4cd599470f
tree31cff357c7b05a3470cf7f91b91835e89defb9d9
parent830a5b54a30044acb7e1bf18812761251b66f4cc
net/mlx5: Pass a namespace for packet reformat ID allocation

Currently we attach packet reformat actions only to the FDB namespace.
In preparation to be able to use that for NIC steering, pass the actual
namespace as a parameter.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h