]> git.ipfire.org Git - thirdparty/linux.git/commit - drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
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)
commit31ca3648f01bf19ae64618521ce539615cc0d5a0
tree31cff357c7b05a3470cf7f91b91835e89defb9d9
parentbea4e1f6c6c5744d467ebf8b0699f5e391835130
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