]> git.droids-corp.org - dpdk.git/commit
examples/ipsec-secgw: fix Tx checksum offload flag
authorRadu Nicolau <radu.nicolau@intel.com>
Wed, 29 Jun 2022 16:46:07 +0000 (17:46 +0100)
committerAkhil Goyal <gakhil@marvell.com>
Thu, 30 Jun 2022 04:42:46 +0000 (06:42 +0200)
commit65bd9c7abc255ec2ce084d9f28e29c395e205402
tree57ed571e23c16654d466468b3583d9289630022f
parent108646569579c9555d103345f89e5520200b97eb
examples/ipsec-secgw: fix Tx checksum offload flag

For the inline crypto path set the Tx checksum offload flag
only if the device supports it.

Fixes: d24471e5786b ("examples/ipsec-secgw: disable Tx checksum for inline")
Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
examples/ipsec-secgw/sa.c