net/mlx5e: Pass only eseg to IPSEC offload
authorMaxim Mikityanskiy <maximmi@mellanox.com>
Fri, 6 Dec 2019 14:14:57 +0000 (16:14 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Sat, 9 May 2020 08:05:39 +0000 (01:05 -0700)
commit0bdb078c74854c48bffa323899f2e0c5ca924e72
tree41f3cf49c6716bd43495710db20b2295e42de130
parent3df711db05b545f3c9b610bee62d33f4e67f64b7
net/mlx5e: Pass only eseg to IPSEC offload

IPSEC offload needs to modify the eseg of the WQE that is being filled,
but it receives a pointer to the whole WQE. To make the contract
stricter, pass only the pointer to the eseg of that WQE. This commit is
preparation for the following refactoring of offloads in the TX path and
for the MPWQE support.

Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.h