]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: IPsec, Enclose csum logic under ipsec config
authorTariq Toukan <tariqt@nvidia.com>
Tue, 12 Jan 2021 07:05:31 +0000 (23:05 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 13 Jan 2021 23:45:58 +0000 (15:45 -0800)
commit305da635de215b674ac1287e4a47626778b54080
treeb741d47c81a3a8c9566a2aa5479f8cd0a40e5fd3
parent9855b38ed19f52467bc4b36bc9f64216ebe82395
net/mlx5e: IPsec, Enclose csum logic under ipsec config

All IPsec logic should be wrapped under the compile flag,
including its checksum logic.
Introduce an inline function in ipsec datapath header,
with a corresponding stub.

Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Raed Salem <raeds@nvidia.com>
Reviewed-by: Huy Nguyen <huyn@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.h
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c