Skip to contentSkip to conversation

doc: announce SA config option struct changes

PATCH Applied Akhil Goyal 6 participants 8 messages Jul 31, 2021 – Aug 7, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: announce SA config option struct changes

From: Archana Muniganti <[email protected]>

Propose new fields to support offloads like
- IPsec inner checksum(L3/L4)
- IPsec tunnel header verification
- TSO
- etc
in the structure ``rte_security_ipsec_sa_options``.

---
Proposal for changes are floated as per below links.
https://mails.dpdk.org/archives/dev/2021-June/212977.html
https://mails.dpdk.org/archives/dev/2021-July/213484.html
https://mails.dpdk.org/archives/dev/2021-July/214521.html

Cc Radu Nicolau <[email protected]>
 doc/guides/rel_notes/deprecation.rst | 4 ++++
 1 file changed, 4 insertions(+)
doc/guides/rel_notes/deprecation.rst +4 -0
index 6a35c7649a..96192b4a41 100644
@@ -151,3 +151,7 @@ Deprecation Notices
 * security: The functions ``rte_security_set_pkt_metadata`` and
   ``rte_security_get_userdata`` will be made inline functions and additional
   flags will be added in structure ``rte_security_ctx`` in DPDK 21.11.
+
+* security: The IPsec SA config options ``struct rte_security_ipsec_sa_options``
+  will be updated with new fields to support new features like IPsec inner
+  checksum, tunnel header verification, TSO in case of protocol offload.
Signature · 1 line
2.25.1
#1 lore raw

Hi Akhil,

There are 2 more items that I would like to add.
- IV gen (in ``rte_security_ipsec_sa_options``)
- SA lifetime configuration (in ``rte_security_ipsec_xform``)

http://patches.dpdk.org/project/dpdk/patch/[email protected]/
http://patches.dpdk.org/project/dpdk/patch/[email protected]/

Do you recommend sending separate deprecation notice or can this patch be updated to cover those as well?

Thanks,
Anoob

Quoted 51 lines

-----Original Message-----
From: Akhil Goyal <[email protected]>
Sent: Saturday, July 31, 2021 11:14 PM
To: [email protected]
Cc: Anoob Joseph <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; Archana Muniganti <[email protected]>; Tejasree Kondoj <[email protected]>; [email protected]; [email protected]; [email protected]; Akhil Goyal <[email protected]>
Subject: [PATCH] doc: announce SA config option struct changes

From: Archana Muniganti <[email protected]>

Propose new fields to support offloads like
- IPsec inner checksum(L3/L4)
- IPsec tunnel header verification
- TSO
- etc
in the structure ``rte_security_ipsec_sa_options``.

---
Proposal for changes are floated as per below links.
https://mails.dpdk.org/archives/dev/2021-June/212977.html
https://mails.dpdk.org/archives/dev/2021-July/213484.html
https://mails.dpdk.org/archives/dev/2021-July/214521.html

Cc Radu Nicolau <[email protected]>
 doc/guides/rel_notes/deprecation.rst | 4 ++++
 1 file changed, 4 insertions(+)
doc/guides/rel_notes/deprecation.rst +2 -0
index 6a35c7649a..96192b4a41 100644
@@ -151,3 +151,7 @@ Deprecation Notices
 * security: The functions ``rte_security_set_pkt_metadata`` and
   ``rte_security_get_userdata`` will be made inline functions and additional
   flags will be added in structure ``rte_security_ctx`` in DPDK 21.11.
+
+* security: The IPsec SA config options ``struct

rte_security_ipsec_sa_options``

doc/guides/rel_notes/deprecation.rst +2 -1
+  will be updated with new fields to support new features like IPsec inner
+  checksum, tunnel header verification, TSO in case of protocol offload.
--

2.25.1

#2 lore raw
Quoted 11 lines

Hi Akhil,

There are 2 more items that I would like to add.
- IV gen (in ``rte_security_ipsec_sa_options``)
- SA lifetime configuration (in ``rte_security_ipsec_xform``)

http://patches.dpdk.org/project/dpdk/patch/1626759974-334-2-git-send-
[email protected]/
http://patches.dpdk.org/project/dpdk/patch/1626759974-334-3-git-send-
[email protected]/

Quoted 6 lines

Do you recommend sending separate deprecation notice or can this patch be updated to cover those as well?

Thanks,
Anoob

This patch is to cover changes in ``rte_security_ipsec_sa_options``, hence for iv_gen no need. For ipsec_xform a new one would be good.

#3 lore raw
In reply to Akhil Goyal
Quoted 11 lines

Subject: [PATCH] doc: announce SA config option struct changes

From: Archana Muniganti <[email protected]>

Propose new fields to support offloads like
- IPsec inner checksum(L3/L4)
- IPsec tunnel header verification
- TSO
- etc
in the structure ``rte_security_ipsec_sa_options``.

Quoted 4 lines

---

Ping for Acks.

Acked-by on v1 1/1
#4 lore raw
In reply to Akhil Goyal
Quoted 12 lines · Akhil Goyal

From: Archana Muniganti <[email protected]>

Propose new fields to support offloads like
- IPsec inner checksum(L3/L4)
- IPsec tunnel header verification
- TSO
- etc
in the structure ``rte_security_ipsec_sa_options``.

Quoted 7 lines

---
Proposal for changes are floated as per below links.
https://mails.dpdk.org/archives/dev/2021-June/212977.html
https://mails.dpdk.org/archives/dev/2021-July/213484.html
https://mails.dpdk.org/archives/dev/2021-July/214521.html

Cc Radu Nicolau <[email protected]>
Acked-by Hemant Agrawal Acked-by Jerin Jacob Applied
#7 lore raw
In reply to Nicolau, Radu
Quoted 16 lines
Quoted 7 lines

Propose new fields to support offloads like
- IPsec inner checksum(L3/L4)
- IPsec tunnel header verification
- TSO
- etc
in the structure ``rte_security_ipsec_sa_options``.

Quoted 9 lines

---
Proposal for changes are floated as per below links.
https://mails.dpdk.org/archives/dev/2021-June/212977.html
https://mails.dpdk.org/archives/dev/2021-July/213484.html
https://mails.dpdk.org/archives/dev/2021-July/214521.html

Quoted 1 line

Applied, thanks.