net/mlx5: Implement alias object allow and create functions
authorPatrisious Haddad <phaddad@nvidia.com>
Thu, 21 Sep 2023 12:10:31 +0000 (15:10 +0300)
committerLeon Romanovsky <leon@kernel.org>
Mon, 2 Oct 2023 08:21:14 +0000 (11:21 +0300)
commit8c894f88c479e4b059464aee45a42ab72023b0c3
treec9bf388d776c48300b171f43ee5c72683fd6e08b
parentef36ffcb381096ed32c309c342a02bf62939c503
net/mlx5: Implement alias object allow and create functions

Add functions which allow one vhca to access another vhca object,
and functions that creates an alias object or destroys it.

Together they can be used to create cross vhca flow table that is able
jump from the steering domain that is managed by one vport,
to the steering domain on a different vport.

Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Link: https://lore.kernel.org/r/f45a9c85319fa783186b8988abcd64955b5f2a0c.1695296682.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/cmd.c
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h