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.si...@nxp.com> Sent: Thursday, November 18, 2021 9:41 AM To: Akhil Goyal <gak...@marvell.com>; dev@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