net/mlx5: Add create alias flow table function to ipsec roce
authorPatrisious Haddad <phaddad@nvidia.com>
Thu, 21 Sep 2023 12:10:32 +0000 (15:10 +0300)
committerLeon Romanovsky <leon@kernel.org>
Mon, 2 Oct 2023 08:21:18 +0000 (11:21 +0300)
commit69c08efcbe7fa87ec89f28e0eed0c8c1deedfd83
treebd4b4a92700e6673a919d61da91bc5d186118b87
parent8c894f88c479e4b059464aee45a42ab72023b0c3
net/mlx5: Add create alias flow table function to ipsec roce

Implements functions which creates an alias flow table, and check
if alias flow table creation is even supported, and if successful
returns the created alias flow table object id.

This function would be used in later patches to allow jumping from
one vhca to another, in order to add support for MPV mode.

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