query regarding IPsec inner IP header TTL

Anoob Joseph anoobj at marvell.com
Thu Nov 18 06:45:25 CET 2021


Hi Gagandeep,

There is an option(dec_ttl) in 'struct rte_security_ipsec_sa_options' to control this. Wouldn't that work?

http://code.dpdk.org/dpdk/latest/source/lib/security/rte_security.h#L166

Thanks,
Anoob

From: Gagandeep Singh <G.Singh at nxp.com> 
Sent: Thursday, November 18, 2021 9:41 AM
To: Akhil Goyal <gakhil at marvell.com>; dev at dpdk.org
Subject: [EXT] query regarding IPsec inner IP header TTL

External Email 
________________________________________
Hi,

Is there any option available in IPsec mode to decrement the inner IP header TTL field by security engine?

I believe in case of forwarding, inner IP header TTL should be decrement but not in case of packet termination. So looking for an option that application can pass to driver to perform TTL decrement.

Thanks,
Gagan


More information about the dev mailing list