DPDK patches and discussions
 help / color / mirror / Atom feed
From: Anoob Joseph <anoobj@marvell.com>
To: Gagandeep Singh <G.Singh@nxp.com>
Cc: Akhil Goyal <gakhil@marvell.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: RE: query regarding IPsec inner IP header TTL
Date: Thu, 18 Nov 2021 05:45:25 +0000	[thread overview]
Message-ID: <PH0PR18MB46723000657BDB9B72701125DF9B9@PH0PR18MB4672.namprd18.prod.outlook.com> (raw)
In-Reply-To: <AS8PR04MB819806F2E97AD5FF46F7A9C4E19B9@AS8PR04MB8198.eurprd04.prod.outlook.com>

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

  reply	other threads:[~2021-11-18  5:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-18  4:10 Gagandeep Singh
2021-11-18  5:45 ` Anoob Joseph [this message]
2021-11-18  5:52   ` Gagandeep Singh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=PH0PR18MB46723000657BDB9B72701125DF9B9@PH0PR18MB4672.namprd18.prod.outlook.com \
    --to=anoobj@marvell.com \
    --cc=G.Singh@nxp.com \
    --cc=dev@dpdk.org \
    --cc=gakhil@marvell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).