net/mlx5: Configure IPsec steering for egress RoCEv2 traffic
authorMark Zhang <markzhang@nvidia.com>
Thu, 5 Jan 2023 04:17:56 +0000 (20:17 -0800)
committerLeon Romanovsky <leon@kernel.org>
Wed, 15 Feb 2023 09:30:07 +0000 (11:30 +0200)
commit22551e77e5507a06114c0af2b92bbf1a66ec33c5
treee09e3af32bd6fa4ea52f512bdf5b9076caccc074
parent899577600b25b338072095009d4c578fbd936177
net/mlx5: Configure IPsec steering for egress RoCEv2 traffic

Add steering table/rule in RDMA_TX domain, to forward all traffic
to IPsec crypto table in NIC domain.

Signed-off-by: Mark Zhang <markzhang@nvidia.com>
Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Reviewed-by: Raed Salem <raeds@nvidia.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_offload.c
drivers/net/ethernet/mellanox/mlx5/core/lib/ipsec_fs_roce.c
drivers/net/ethernet/mellanox/mlx5/core/lib/ipsec_fs_roce.h