doc: add inline protocol in feature list
PATCH 1/1 doc: add inline protocol in feature list
Update feature list to include inline protocol offload.
--- doc/guides/nics/features.rst | 18 ++++++++++++++++++ doc/guides/nics/features/default.ini | 1 + 2 files changed, 19 insertions(+)
doc/guides/nics/features.rst +18 -0
@@ -433,6 +433,24 @@ Supports inline crypto processing (e.g. inline IPsec). See Security library and ``mbuf.ol_flags:PKT_TX_SEC_OFFLOAD``, ``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD_FAILED``. +.. _nic_features_inline_protocol_doc: + +Inline protocol +--------------- + +Supports inline protocol processing (e.g. inline IPsec). See Security library and PMD documentation for more details. + +* **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:DEV_RX_OFFLOAD_SECURITY``, +* **[uses] rte_eth_txconf,rte_eth_txmode**: ``offloads:DEV_TX_OFFLOAD_SECURITY``. +* **[implements] rte_security_ops**: ``session_create``, ``session_update``, + ``session_stats_get``, ``session_destroy``, ``set_pkt_metadata``, ``get_userdata``, + ``capabilities_get``. +* **[provides] rte_eth_dev_info**: ``rx_offload_capa,rx_queue_offload_capa:DEV_RX_OFFLOAD_SECURITY``, + ``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_SECURITY``. +* **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD``, + ``mbuf.ol_flags:PKT_TX_SEC_OFFLOAD``, ``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD_FAILED``. + + .. _nic_features_crc_offload: CRC offload
doc/guides/nics/features/default.ini +1 -0
@@ -42,6 +42,7 @@ Flow API = Rate limitation = Traffic mirroring = Inline crypto = +Inline protocol = CRC offload = VLAN offload = QinQ offload =
Signature · 1 line
2.7.4
Hi Ferruh,
Can you review this patch?
Thanks,
Anoob
Quoted 71 lines
-----Original Message-----
From: dev <[email protected]> On Behalf Of Anoob Joseph
Sent: Tuesday, December 10, 2019 12:23 PM
To: John McNamara <[email protected]>; Marko Kovacevic <[email protected]>; Ferruh Yigit <[email protected]>
Cc: Anoob Joseph <[email protected]>; Jerin Jacob Kollanukkaran <[email protected]>; Narayana Prasad Raju Athreya <[email protected]>; [email protected]
Subject: [dpdk-dev] [PATCH] doc: add inline protocol in feature listUpdate feature list to include inline protocol offload.
Signed-off-by Anoob Joseph <[email protected]>--- doc/guides/nics/features.rst | 18 ++++++++++++++++++ doc/guides/nics/features/default.ini | 1 + 2 files changed, 19 insertions(+)doc/guides/nics/features.rst index renamed from doc/guides/nics/features.rst +0
-08394a65..f4eb2a9 100644
doc/guides/nics/features.rst +0
-0@@ -433,6 +433,24 @@ Supports inline crypto processing (e.g. inline IPsec). SeeSecurity library and
``mbuf.ol_flags:PKT_TX_SEC_OFFLOAD``,
``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD_FAILED``.+..
_nic_features_inline_protocol_doc:doc/guides/nics/features.rst +5
-0+ +Inline protocol +--------------- + +Supports inline protocol processing (e.g. inline IPsec). See Security library andPMD documentation for more details.
doc/guides/nics/features.rst +2
-0+ +* **[uses] rte_eth_rxconf,rte_eth_rxmode**:``offloads:DEV_RX_OFFLOAD_SECURITY``,
+* **[uses] rte_eth_txconf,rte_eth_txmode**:
``offloads:DEV_TX_OFFLOAD_SECURITY``.doc/guides/nics/features.rst +10
-0+* **[implements] rte_security_ops**: ``session_create``, +``session_update``, + ``session_stats_get``, ``session_destroy``, ``set_pkt_metadata``, +``get_userdata``, + ``capabilities_get``. +* **[provides] rte_eth_dev_info**: +``rx_offload_capa,rx_queue_offload_capa:DEV_RX_OFFLOAD_SECURITY``, + ``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_SECURITY``. +* **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD``, + ``mbuf.ol_flags:PKT_TX_SEC_OFFLOAD``,``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD_FAILED``.
doc/guides/nics/features.rst +2
-0+ + .. _nic_features_crc_offload: CRC offloaddoc/guides/nics/features/default.ini +1
-1@@ -42,6 +42,7 @@ Flow API = Rate limitation = Traffic mirroring = Inline crypto = +Inline protocol = CRC offload = VLAN offload = QinQ offload = --2.7.4
Quoted 3 lines · Anoob Joseph
Hi Ferruh,
Can you review this patch?
Hi Anoob,
What is the difference between "Inline crypto" in that document and this "Inline protocol"? Both seems providing same outpout.
Is there a way to differentiate them more clearly?
Quoted 76 lines
Thanks,
AnoobQuoted 71 lines
-----Original Message-----
From: dev <[email protected]> On Behalf Of Anoob Joseph
Sent: Tuesday, December 10, 2019 12:23 PM
To: John McNamara <[email protected]>; Marko Kovacevic <[email protected]>; Ferruh Yigit <[email protected]>
Cc: Anoob Joseph <[email protected]>; Jerin Jacob Kollanukkaran <[email protected]>; Narayana Prasad Raju Athreya <[email protected]>; [email protected]
Subject: [dpdk-dev] [PATCH] doc: add inline protocol in feature listUpdate feature list to include inline protocol offload.
Signed-off-by Anoob Joseph <[email protected]>--- doc/guides/nics/features.rst | 18 ++++++++++++++++++ doc/guides/nics/features/default.ini | 1 + 2 files changed, 19 insertions(+)doc/guides/nics/features.rst index renamed from doc/guides/nics/features.rst +0
-08394a65..f4eb2a9 100644
doc/guides/nics/features.rst +0
-0@@ -433,6 +433,24 @@ Supports inline crypto processing (e.g. inline IPsec). SeeSecurity library and
``mbuf.ol_flags:PKT_TX_SEC_OFFLOAD``,
``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD_FAILED``.+..
_nic_features_inline_protocol_doc:doc/guides/nics/features.rst +5
-0+ +Inline protocol +--------------- + +Supports inline protocol processing (e.g. inline IPsec). See Security library andPMD documentation for more details.
doc/guides/nics/features.rst +2
-0+ +* **[uses] rte_eth_rxconf,rte_eth_rxmode**:``offloads:DEV_RX_OFFLOAD_SECURITY``,
+* **[uses] rte_eth_txconf,rte_eth_txmode**:
``offloads:DEV_TX_OFFLOAD_SECURITY``.doc/guides/nics/features.rst +10
-0+* **[implements] rte_security_ops**: ``session_create``, +``session_update``, + ``session_stats_get``, ``session_destroy``, ``set_pkt_metadata``, +``get_userdata``, + ``capabilities_get``. +* **[provides] rte_eth_dev_info**: +``rx_offload_capa,rx_queue_offload_capa:DEV_RX_OFFLOAD_SECURITY``, + ``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_SECURITY``. +* **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD``, + ``mbuf.ol_flags:PKT_TX_SEC_OFFLOAD``,``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD_FAILED``.
doc/guides/nics/features.rst +2
-0+ + .. _nic_features_crc_offload: CRC offloaddoc/guides/nics/features/default.ini +1
-1@@ -42,6 +42,7 @@ Flow API = Rate limitation = Traffic mirroring = Inline crypto = +Inline protocol = CRC offload = VLAN offload = QinQ offload = --2.7.4
Hi Ferruh,
Please see inline.
Thanks,
Anoob
Quoted 14 lines
-----Original Message-----
From: Ferruh Yigit <[email protected]>
Sent: Tuesday, January 21, 2020 9:42 PM
To: Anoob Joseph <[email protected]>; John McNamara <[email protected]>; Marko Kovacevic <[email protected]>
Cc: Jerin Jacob Kollanukkaran <[email protected]>; Narayana Prasad Raju Athreya <[email protected]>; [email protected]
Subject: [EXT] Re: [dpdk-dev] [PATCH] doc: add inline protocol in feature listExternal Email
----------------------------------------------------------------------
On 1/21/2020 5:40 AM, Anoob Joseph wrote:
Quoted 8 lines
Quoted 3 lines
Hi Ferruh,
Can you review this patch?
Hi Anoob,
What is the difference between "Inline crypto" in that document and this "Inline protocol"? Both seems providing same outpout.
[Anoob] Yes. It is partly because the description of "inline crypto" is not accurate. The feature, "inline crypto" is not ipsec aware but would do crypto operation in the ipsec. This summary points to the security documentation for further details and that doc clearly explains the difference between both modes.
Quoted 1 line
Is there a way to differentiate them more clearly?
[Anoob] There are two options I can think of,
1. Update the feature list to describe the difference between the two. Have a line like,
"As compared to inline crypto, inline protocol will handle the entire protocol offload in addition to the crypto operation."
2. Both inline crypto and inline protocol falls under security. So could even rename "Inline crypto" to "Inline security offload" and we should be good to go. Also, under inline protocol, there are various protocols possible. Say, tomorrow when we add MACSEC support, the same question would arise (as in whether it's a new feature or would it be under "inline protocol").
Quoted 81 lines
Quoted 46 lines
Thanks,
AnoobQuoted 41 lines
-----Original Message-----
From: dev <[email protected]> On Behalf Of Anoob Joseph
Sent: Tuesday, December 10, 2019 12:23 PM
To: John McNamara <[email protected]>; Marko Kovacevic <[email protected]>; Ferruh Yigit <[email protected]>
Cc: Anoob Joseph <[email protected]>; Jerin Jacob Kollanukkaran <[email protected]>; Narayana Prasad Raju Athreya <[email protected]>; [email protected]
Subject: [dpdk-dev] [PATCH] doc: add inline protocol in feature listUpdate feature list to include inline protocol offload.
Signed-off-by Anoob Joseph <[email protected]>--- doc/guides/nics/features.rst | 18 ++++++++++++++++++ doc/guides/nics/features/default.ini | 1 + 2 files changed, 19 insertions(+)(quoted diff) +0
-0
b/doc/guides/nics/features.rstindex
8394a65..f4eb2a9 100644doc/guides/nics/features.rst +0
-0@@ -433,6 +433,24 @@ Supports inline crypto processing (e.g. inlineIPsec). See Security library and
``mbuf.ol_flags:PKT_TX_SEC_OFFLOAD``,
``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD_FAILED``.+..
_nic_features_inline_protocol_doc:doc/guides/nics/features.rst +6
-0+ +Inline protocol +--------------- + +Supports inline protocol processing (e.g. inline IPsec). See +Security library andPMD documentation for more details.
doc/guides/nics/features.rst +2
-0+ +* **[uses] rte_eth_rxconf,rte_eth_rxmode**:``offloads:DEV_RX_OFFLOAD_SECURITY``,
+* **[uses] rte_eth_txconf,rte_eth_txmode**:Quoted 8 lines
doc/guides/nics/features.rst
Quoted 8 lines
``offloads:DEV_TX_OFFLOAD_SECURITY``.
doc/guides/nics/features.rst +6
-0+* **[implements] rte_security_ops**: ``session_create``, +``session_update``, + ``session_stats_get``, ``session_destroy``, ``set_pkt_metadata``, +``get_userdata``, + ``capabilities_get``. +* **[provides] rte_eth_dev_info**:+``rx_offload_capa,rx_queue_offload_capa:DEV_RX_OFFLOAD_SECURITY``,
Quoted 1 line
Quoted 1 line
+
``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_SECURITY``.
Quoted 24 lines
Quoted 23 lines
doc/guides/nics/features.rst +2
-0+* **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD``, + ``mbuf.ol_flags:PKT_TX_SEC_OFFLOAD``,``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD_FAILED``.
doc/guides/nics/features.rst +2
-0+ + .. _nic_features_crc_offload: CRC offloaddoc/guides/nics/features/default.ini +1
-1@@ -42,6 +42,7 @@ Flow API = Rate limitation = Traffic mirroring = Inline crypto = +Inline protocol = CRC offload = VLAN offload = QinQ offload = --2.7.4
Quoted 30 lines · Anoob Joseph
Hi Ferruh,
Please see inline.
Thanks,
AnoobQuoted 14 lines
-----Original Message-----
From: Ferruh Yigit <[email protected]>
Sent: Tuesday, January 21, 2020 9:42 PM
To: Anoob Joseph <[email protected]>; John McNamara <[email protected]>; Marko Kovacevic <[email protected]>
Cc: Jerin Jacob Kollanukkaran <[email protected]>; Narayana Prasad Raju Athreya <[email protected]>; [email protected]
Subject: [EXT] Re: [dpdk-dev] [PATCH] doc: add inline protocol in feature listExternal Email
----------------------------------------------------------------------
On 1/21/2020 5:40 AM, Anoob Joseph wrote:Quoted 8 lines
Quoted 3 lines
Hi Ferruh,
Can you review this patch?
Hi Anoob,
What is the difference between "Inline crypto" in that document and this "Inline protocol"? Both seems providing same outpout.
Quoted 8 lines
[Anoob] Yes. It is partly because the description of "inline crypto" is not accurate. The feature, "inline crypto" is not ipsec aware but would do crypto operation in the ipsec. This summary points to the security documentation for further details and that doc clearly explains the difference between both modes.
Quoted 1 line
Is there a way to differentiate them more clearly?
[Anoob] There are two options I can think of,
1. Update the feature list to describe the difference between the two. Have a line like,
"As compared to inline crypto, inline protocol will handle the entire protocol offload in addition to the crypto operation."
2. Both inline crypto and inline protocol falls under security. So could even rename "Inline crypto" to "Inline security offload" and we should be good to go. Also, under inline protocol, there are various protocols possible. Say, tomorrow when we add MACSEC support, the same question would arise (as in whether it's a new feature or would it be under "inline protocol").
Hi Anoob,
These seems security related and I don't know enough to comment if this is correct thing to do. I have cc'ed a few more people for comment.
@Akhil, would you mind if I assign this to you?
Thanks,
ferruh
Quoted 83 lines
Quoted 82 lines
Quoted 47 lines
Thanks,
AnoobQuoted 41 lines
-----Original Message-----
From: dev <[email protected]> On Behalf Of Anoob Joseph
Sent: Tuesday, December 10, 2019 12:23 PM
To: John McNamara <[email protected]>; Marko Kovacevic <[email protected]>; Ferruh Yigit <[email protected]>
Cc: Anoob Joseph <[email protected]>; Jerin Jacob Kollanukkaran <[email protected]>; Narayana Prasad Raju Athreya <[email protected]>; [email protected]
Subject: [dpdk-dev] [PATCH] doc: add inline protocol in feature listUpdate feature list to include inline protocol offload.
Signed-off-by Anoob Joseph <[email protected]>--- doc/guides/nics/features.rst | 18 ++++++++++++++++++ doc/guides/nics/features/default.ini | 1 + 2 files changed, 19 insertions(+)(quoted diff) +0
-0
b/doc/guides/nics/features.rstindex
8394a65..f4eb2a9 100644doc/guides/nics/features.rst +0
-0@@ -433,6 +433,24 @@ Supports inline crypto processing (e.g. inlineIPsec). See Security library and
``mbuf.ol_flags:PKT_TX_SEC_OFFLOAD``,
``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD_FAILED``.+..
_nic_features_inline_protocol_doc:doc/guides/nics/features.rst +6
-0+ +Inline protocol +--------------- + +Supports inline protocol processing (e.g. inline IPsec). See +Security library andPMD documentation for more details.
doc/guides/nics/features.rst +2
-0+ +* **[uses] rte_eth_rxconf,rte_eth_rxmode**:``offloads:DEV_RX_OFFLOAD_SECURITY``,
+* **[uses] rte_eth_txconf,rte_eth_txmode**:Quoted 8 lines
doc/guides/nics/features.rst
Quoted 8 lines
``offloads:DEV_TX_OFFLOAD_SECURITY``.
doc/guides/nics/features.rst +6
-0+* **[implements] rte_security_ops**: ``session_create``, +``session_update``, + ``session_stats_get``, ``session_destroy``, ``set_pkt_metadata``, +``get_userdata``, + ``capabilities_get``. +* **[provides] rte_eth_dev_info**:+``rx_offload_capa,rx_queue_offload_capa:DEV_RX_OFFLOAD_SECURITY``,
Quoted 1 line
Quoted 1 line
+
``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_SECURITY``.
Quoted 24 lines
Quoted 23 lines
doc/guides/nics/features.rst +2
-0+* **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD``, + ``mbuf.ol_flags:PKT_TX_SEC_OFFLOAD``,``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD_FAILED``.
doc/guides/nics/features.rst +2
-0+ + .. _nic_features_crc_offload: CRC offloaddoc/guides/nics/features/default.ini +1
-1@@ -42,6 +42,7 @@ Flow API = Rate limitation = Traffic mirroring = Inline crypto = +Inline protocol = CRC offload = VLAN offload = QinQ offload = --2.7.4
Hi Akhil,
Can you review this patch?
Thanks,
Anoob
Quoted 161 lines
-----Original Message-----
From: Ferruh Yigit <[email protected]>
Sent: Tuesday, February 4, 2020 8:06 PM
To: Anoob Joseph <[email protected]>; John McNamara <[email protected]>; Marko Kovacevic <[email protected]>
Cc: Jerin Jacob Kollanukkaran <[email protected]>; Narayana Prasad Raju Athreya <[email protected]>; [email protected]; Akhil Goyal <[email protected]>; Konstantin Ananyev <[email protected]>; Hemant Agrawal <[email protected]>; Fan Zhang <[email protected]>; Fiona Trahe <[email protected]>
Subject: Re: [EXT] Re: [dpdk-dev] [PATCH] doc: add inline protocol in feature listQuoted 24 lines · Anoob Joseph
Hi Ferruh,
Please see inline.
Thanks,
AnoobQuoted 17 lines
-----Original Message-----
From: Ferruh Yigit <[email protected]>
Sent: Tuesday, January 21, 2020 9:42 PM
To: Anoob Joseph <[email protected]>; John McNamara <[email protected]>; Marko Kovacevic <[email protected]>
Cc: Jerin Jacob Kollanukkaran <[email protected]>; Narayana Prasad Raju Athreya <[email protected]>; [email protected]
Subject: [EXT] Re: [dpdk-dev] [PATCH] doc: add inline protocol in feature listExternal Email
---------------------------------------------------------------------
Quoted 2 lines · Anoob Joseph
Hi Ferruh,
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Can you review this patch?
Hi Anoob,
What is the difference between "Inline crypto" in that document and this "Inline protocol"? Both seems providing same outpout.
[Anoob] Yes. It is partly because the description of "inline crypto" is not
accurate. The feature, "inline crypto" is not ipsec aware but would do crypto operation in the ipsec. This summary points to the security documentation for further details and that doc clearly explains the difference between both modes.
Quoted 6 lines
Quoted 2 lines
Is there a way to differentiate them more clearly?
[Anoob] There are two options I can think of, 1. Update the feature list to describe the difference between the two. Have a line like,
"As compared to inline crypto, inline protocol will handle the entireprotocol offload in addition to the crypto operation."
Quoted 1 line
2. Both inline crypto and inline protocol falls under security. So could even
rename "Inline crypto" to "Inline security offload" and we should be good to go. Also, under inline protocol, there are various protocols possible. Say, tomorrow when we add MACSEC support, the same question would arise (as in whether it's a new feature or would it be under "inline protocol").
Hi Anoob,
These seems security related and I don't know enough to comment if this is correct thing to do. I have cc'ed a few more people for comment.
@Akhil, would you mind if I assign this to you?
Thanks,
ferruhQuoted 49 lines
Quoted 49 lines
Quoted 49 lines
Thanks,
AnoobQuoted 43 lines
-----Original Message-----
From: dev <[email protected]> On Behalf Of Anoob Joseph
Sent: Tuesday, December 10, 2019 12:23 PM
To: John McNamara <[email protected]>; Marko Kovacevic <[email protected]>; Ferruh Yigit <[email protected]>
Cc: Anoob Joseph <[email protected]>; Jerin Jacob Kollanukkaran <[email protected]>; Narayana Prasad Raju Athreya <[email protected]>; [email protected]
Subject: [dpdk-dev] [PATCH] doc: add inline protocol in feature listUpdate feature list to include inline protocol offload.
Signed-off-by Anoob Joseph <[email protected]>--- doc/guides/nics/features.rst | 18 ++++++++++++++++++ doc/guides/nics/features/default.ini | 1 + 2 files changed, 19 insertions(+)(quoted diff) +0
-0
b/doc/guides/nics/features.rstindex
8394a65..f4eb2a9 100644doc/guides/nics/features.rst +0
-0@@ -433,6 +433,24 @@ Supports inline crypto processing (e.g. inlineIPsec). See Security library and
``mbuf.ol_flags:PKT_TX_SEC_OFFLOAD``,
``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD_FAILED``.+..
_nic_features_inline_protocol_doc:doc/guides/nics/features.rst +6
-0+ +Inline protocol +--------------- + +Supports inline protocol processing (e.g. inline IPsec). See +Security library andPMD documentation for more details.
doc/guides/nics/features.rst +2
-0+ +* **[uses] rte_eth_rxconf,rte_eth_rxmode**:``offloads:DEV_RX_OFFLOAD_SECURITY``,
+* **[uses] rte_eth_txconf,rte_eth_txmode**:
``offloads:DEV_TX_OFFLOAD_SECURITY``.Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
doc/guides/nics/features.rst
Quoted 7 lines
doc/guides/nics/features.rst +6
-0+* **[implements] rte_security_ops**: ``session_create``, +``session_update``, + ``session_stats_get``, ``session_destroy``, +``set_pkt_metadata``, ``get_userdata``, + ``capabilities_get``. +* **[provides] rte_eth_dev_info**:+``rx_offload_capa,rx_queue_offload_capa:DEV_RX_OFFLOAD_SECURITY``,
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 1 line
+
``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_SECURITY``.
Quoted 25 lines
Quoted 24 lines
Quoted 24 lines
Quoted 23 lines
doc/guides/nics/features.rst +2
-0+* **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD``, + ``mbuf.ol_flags:PKT_TX_SEC_OFFLOAD``,``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD_FAILED``.
doc/guides/nics/features.rst +2
-0+ + .. _nic_features_crc_offload: CRC offloaddoc/guides/nics/features/default.ini +1
-1@@ -42,6 +42,7 @@ Flow API = Rate limitation = Traffic mirroring = Inline crypto = +Inline protocol = CRC offload = VLAN offload = QinQ offload = --2.7.4
Hi Anoob,
Quoted 17 lines
Quoted 17 lines
Quoted 7 lines
Quoted 5 lines
Hi Anoob,
What is the difference between "Inline crypto" in that document and this "Inline protocol"? Both seems providing same outpout.
[Anoob] Yes. It is partly because the description of "inline crypto" is not
accurate. The feature, "inline crypto" is not ipsec aware but would do crypto operation in the ipsec. This summary points to the security documentation for further details and that doc clearly explains the difference between both modes.
Quoted 6 lines
Quoted 2 lines
Is there a way to differentiate them more clearly?
[Anoob] There are two options I can think of, 1. Update the feature list to describe the difference between the two. Have a line like,
"As compared to inline crypto, inline protocol will handle the entire
Quoted 6 lines
Quoted 6 lines
protocol offload in addition to the crypto operation."
Quoted 1 line
2. Both inline crypto and inline protocol falls under security. So could even
rename "Inline crypto" to "Inline security offload" and we should be good to go. Also, under inline protocol, there are various protocols possible. Say, tomorrow when we add MACSEC support, the same question would arise (as in whether it's a new feature or would it be under "inline protocol").
Please re-phrase the description of inline crypto as well so that there is a clear Differentiation between the two modes. Referring to rte_security is not enough.
It can be something like
For Inline crypto: An operation defined in rte_security lib to perform only crypto Operations of the security protocol while the packet is received at NIC. NIC is not aware of the protocol operations. See Security library and PMD documentation for more details.
For Inline protocol : An operation defined in rte_security lib to perform protocol processing for the security protocol (e.g. IPSEC, MACSEC) while the packet is received at the NIC. The NIC is capable to understand the security protocol operations. See Security library and PMD documentation for more details.
Quoted 97 lines
Quoted 97 lines
Hi Anoob,
These seems security related and I don't know enough to comment if this is correct thing to do. I have cc'ed a few more people for comment.
@Akhil, would you mind if I assign this to you?
Thanks,
ferruhQuoted 49 lines
Quoted 49 lines
Quoted 49 lines
Thanks,
AnoobQuoted 43 lines
-----Original Message-----
From: dev <[email protected]> On Behalf Of Anoob Joseph
Sent: Tuesday, December 10, 2019 12:23 PM
To: John McNamara <[email protected]>; Marko Kovacevic <[email protected]>; Ferruh Yigit <[email protected]>
Cc: Anoob Joseph <[email protected]>; Jerin Jacob Kollanukkaran <[email protected]>; Narayana Prasad Raju Athreya <[email protected]>; [email protected]
Subject: [dpdk-dev] [PATCH] doc: add inline protocol in feature listUpdate feature list to include inline protocol offload.
Signed-off-by Anoob Joseph <[email protected]>--- doc/guides/nics/features.rst | 18 ++++++++++++++++++ doc/guides/nics/features/default.ini | 1 + 2 files changed, 19 insertions(+)(quoted diff) +0
-0
b/doc/guides/nics/features.rstindex
8394a65..f4eb2a9 100644doc/guides/nics/features.rst +0
-0@@ -433,6 +433,24 @@ Supports inline crypto processing (e.g. inlineIPsec). See Security library and
``mbuf.ol_flags:PKT_TX_SEC_OFFLOAD``,
``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD_FAILED``.+..
_nic_features_inline_protocol_doc:doc/guides/nics/features.rst +6
-0+ +Inline protocol +--------------- + +Supports inline protocol processing (e.g. inline IPsec). See +Security library andPMD documentation for more details.
doc/guides/nics/features.rst +2
-0+ +* **[uses] rte_eth_rxconf,rte_eth_rxmode**:``offloads:DEV_RX_OFFLOAD_SECURITY``,
+* **[uses] rte_eth_txconf,rte_eth_txmode**:
``offloads:DEV_TX_OFFLOAD_SECURITY``.Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
doc/guides/nics/features.rst
Quoted 7 lines
doc/guides/nics/features.rst +6
-0+* **[implements] rte_security_ops**: ``session_create``, +``session_update``, + ``session_stats_get``, ``session_destroy``, +``set_pkt_metadata``, ``get_userdata``, + ``capabilities_get``. +* **[provides] rte_eth_dev_info**:+``rx_offload_capa,rx_queue_offload_capa:DEV_RX_OFFLOAD_SECURITY``,
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 1 line
+
``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_SECURITY``.
Quoted 25 lines
Quoted 24 lines
Quoted 24 lines
Quoted 23 lines
doc/guides/nics/features.rst +2
-0+* **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD``, + ``mbuf.ol_flags:PKT_TX_SEC_OFFLOAD``,``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD_FAILED``.
doc/guides/nics/features.rst +2
-0+ + .. _nic_features_crc_offload: CRC offloaddoc/guides/nics/features/default.ini +1
-1@@ -42,6 +42,7 @@ Flow API = Rate limitation = Traffic mirroring = Inline crypto = +Inline protocol = CRC offload = VLAN offload = QinQ offload = --2.7.4
Quoted 28 lines · Akhil Goyal
Hi Anoob,
Quoted 17 lines
Quoted 17 lines
Quoted 7 lines
Quoted 5 lines
Hi Anoob,
What is the difference between "Inline crypto" in that document and this "Inline protocol"? Both seems providing same outpout.
[Anoob] Yes. It is partly because the description of "inline crypto" is not
accurate. The feature, "inline crypto" is not ipsec aware but would do crypto operation in the ipsec. This summary points to the security documentation for further details and that doc clearly explains the difference between both modes.
Quoted 6 lines
Quoted 2 lines
Is there a way to differentiate them more clearly?
[Anoob] There are two options I can think of, 1. Update the feature list to describe the difference between the two. Have a line like,
"As compared to inline crypto, inline protocol will handle the entireQuoted 6 lines
Quoted 6 lines
protocol offload in addition to the crypto operation."
Quoted 1 line
2. Both inline crypto and inline protocol falls under security. So could even
rename "Inline crypto" to "Inline security offload" and we should be good to go. Also, under inline protocol, there are various protocols possible. Say, tomorrow when we add MACSEC support, the same question would arise (as in whether it's a new feature or would it be under "inline protocol").
Please re-phrase the description of inline crypto as well so that there is a clear Differentiation between the two modes. Referring to
rte_securityis not enough.
Quoted 8 lines
It can be something like
For Inline crypto: An operation defined inrte_securitylib to perform only crypto Operations of the security protocol while the packet is received at NIC. NIC is not aware of the protocol operations. See Security library and PMD documentation for more details.For Inline protocol : An operation defined in
rte_securitylib to perform protocol processing for the security protocol (e.g. IPSEC, MACSEC) while the packet is received at the NIC. The NIC is capable to understand the security protocol operations. See Security library and PMD documentation for more details.
Since both using the rte_security, for a PMD isn't there a way to say if it is supporting any one of them or both? If so what do you think documenting it too?
Quoted 100 lines
Quoted 99 lines
Quoted 99 lines
Hi Anoob,
These seems security related and I don't know enough to comment if this is correct thing to do. I have cc'ed a few more people for comment.
@Akhil, would you mind if I assign this to you?
Thanks,
ferruhQuoted 49 lines
Quoted 49 lines
Quoted 49 lines
Thanks,
AnoobQuoted 43 lines
-----Original Message-----
From: dev <[email protected]> On Behalf Of Anoob Joseph
Sent: Tuesday, December 10, 2019 12:23 PM
To: John McNamara <[email protected]>; Marko Kovacevic <[email protected]>; Ferruh Yigit <[email protected]>
Cc: Anoob Joseph <[email protected]>; Jerin Jacob Kollanukkaran <[email protected]>; Narayana Prasad Raju Athreya <[email protected]>; [email protected]
Subject: [dpdk-dev] [PATCH] doc: add inline protocol in feature listUpdate feature list to include inline protocol offload.
Signed-off-by Anoob Joseph <[email protected]>--- doc/guides/nics/features.rst | 18 ++++++++++++++++++ doc/guides/nics/features/default.ini | 1 + 2 files changed, 19 insertions(+)(quoted diff) +0
-0
b/doc/guides/nics/features.rstindex
8394a65..f4eb2a9 100644doc/guides/nics/features.rst +0
-0@@ -433,6 +433,24 @@ Supports inline crypto processing (e.g. inlineIPsec). See Security library and
``mbuf.ol_flags:PKT_TX_SEC_OFFLOAD``,
``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD_FAILED``.+..
_nic_features_inline_protocol_doc:doc/guides/nics/features.rst +6
-0+ +Inline protocol +--------------- + +Supports inline protocol processing (e.g. inline IPsec). See +Security library andPMD documentation for more details.
doc/guides/nics/features.rst +2
-0+ +* **[uses] rte_eth_rxconf,rte_eth_rxmode**:``offloads:DEV_RX_OFFLOAD_SECURITY``,
+* **[uses] rte_eth_txconf,rte_eth_txmode**:
``offloads:DEV_TX_OFFLOAD_SECURITY``.Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
doc/guides/nics/features.rst
Quoted 7 lines
doc/guides/nics/features.rst +6
-0+* **[implements] rte_security_ops**: ``session_create``, +``session_update``, + ``session_stats_get``, ``session_destroy``, +``set_pkt_metadata``, ``get_userdata``, + ``capabilities_get``. +* **[provides] rte_eth_dev_info**:+``rx_offload_capa,rx_queue_offload_capa:DEV_RX_OFFLOAD_SECURITY``,
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 1 line
+
``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_SECURITY``.
Quoted 25 lines
Quoted 24 lines
Quoted 24 lines
Quoted 23 lines
doc/guides/nics/features.rst +2
-0+* **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD``, + ``mbuf.ol_flags:PKT_TX_SEC_OFFLOAD``,``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD_FAILED``.
doc/guides/nics/features.rst +2
-0+ + .. _nic_features_crc_offload: CRC offloaddoc/guides/nics/features/default.ini +1
-1@@ -42,6 +42,7 @@ Flow API = Rate limitation = Traffic mirroring = Inline crypto = +Inline protocol = CRC offload = VLAN offload = QinQ offload = --2.7.4
Hi Ferruh,
Quoted 5 lines
Since both using the
rte_security, for a PMD isn't there a way to say if it is supporting any one of them or both? If so what do you think documenting it too?
I think that is mentioned in the rte_security capabilities about the action types Which are supported by the driver. One of the dev->security_ctx->ops is to get the security Capabilities which will return the supported action type by the PMD.
I am not sure if we can add that here or not. It is your call.
- Akhil
Quoted 12 lines · Akhil Goyal
Hi Ferruh,
Quoted 5 lines
Since both using the
rte_security, for a PMD isn't there a way to say if it is supporting any one of them or both? If so what do you think documenting it too?I think that is mentioned in the
rte_securitycapabilities about the action types Which are supported by the driver. One of thedev->security_ctx->opsis to get the security Capabilities which will return the supported action type by the PMD.I am not sure if we can add that here or not. It is your call.
I think it make sense to document action types needs to be supported to claim that the feature is supported, but most probably you will judge better on the matter.
Quoted 12 lines · Akhil Goyal
Quoted 5 lines
Hi Ferruh,
Quoted 4 lines
Since both using the
rte_security, for a PMD isn't there a way to say if it is supporting any one of them or both? If so what do you think documenting ittoo?
Quoted 3 lines
Quoted 1 line
I think that is mentioned in the
rte_securitycapabilities about the action types Which are supported by the driver. One of thedev->security_ctx->opsis to getthe security
Quoted 8 lines
Quoted 4 lines
Capabilities which will return the supported action type by the PMD.
I am not sure if we can add that here or not. It is your call.
I think it make sense to document action types needs to be supported to claim that the feature is supported, but most probably you will judge better on the matter.
If we can add specifics of security in ethernet feature definition, Then probably we can add
**[provides] rte_security_ops, capabilities_get**: `` action: RTE_SECURITY_ACTION_TYPE_INLINE_CRYPTO ``
For inline crypto
And
**[provides] rte_security_ops, capabilities_get**: `` action: RTE_SECURITY_ACTION_TYPE_INLINE_PROTOCOL``
Please check my syntax if it is not correct.
PATCH v2 1/1 doc: add inline protocol in feature list
In reply to Anoob JosephUpdate feature list to include inline protocol offload.
--- doc/guides/nics/features.rst | 27 ++++++++++++++++++++++++++- doc/guides/nics/features/default.ini | 1 + doc/guides/nics/features/octeontx2.ini | 1 + 3 files changed, 28 insertions(+), 1 deletion(-)
doc/guides/nics/features.rst +26 -1
@@ -421,7 +421,9 @@ Supports adding traffic mirroring rules. Inline crypto ------------- -Supports inline crypto processing (e.g. inline IPsec). See Security library and PMD documentation for more details. +Supports inline crypto processing defined by rte_security library to perform crypto +operations of security protocol while packet is received in NIC. NIC is not aware +of protocol operations. See Security library and PMD documentation for more details. * **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:DEV_RX_OFFLOAD_SECURITY``, * **[uses] rte_eth_txconf,rte_eth_txmode**: ``offloads:DEV_TX_OFFLOAD_SECURITY``.
@@ -431,6 +433,29 @@ Supports inline crypto processing (e.g. inline IPsec). See Security library and ``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_SECURITY``. * **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD``, ``mbuf.ol_flags:PKT_TX_SEC_OFFLOAD``, ``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD_FAILED``. +* **[provides] rte_security_ops, capabilities_get**: ``action: RTE_SECURITY_ACTION_TYPE_INLINE_CRYPTO`` + + +.. _nic_features_inline_protocol_doc: + +Inline protocol +--------------- + +Supports inline protocol processing defined by rte_security library to perform +protocol processing for the security protocol (e.g. IPsec, MACSEC) while the +packet is received at NIC. The NIC is capable of understanding the security +protocol operations. See security library and PMD documentation for more details. + +* **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:DEV_RX_OFFLOAD_SECURITY``, +* **[uses] rte_eth_txconf,rte_eth_txmode**: ``offloads:DEV_TX_OFFLOAD_SECURITY``. +* **[implements] rte_security_ops**: ``session_create``, ``session_update``, + ``session_stats_get``, ``session_destroy``, ``set_pkt_metadata``, ``get_userdata``, + ``capabilities_get``. +* **[provides] rte_eth_dev_info**: ``rx_offload_capa,rx_queue_offload_capa:DEV_RX_OFFLOAD_SECURITY``, + ``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_SECURITY``. +* **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD``, + ``mbuf.ol_flags:PKT_TX_SEC_OFFLOAD``, ``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD_FAILED``. +* **[provides] rte_security_ops, capabilities_get**: ``action: RTE_SECURITY_ACTION_TYPE_INLINE_PROTOCOL`` .. _nic_features_crc_offload:
doc/guides/nics/features/default.ini +1 -0
@@ -42,6 +42,7 @@ Flow API = Rate limitation = Traffic mirroring = Inline crypto = +Inline protocol = CRC offload = VLAN offload = QinQ offload =
doc/guides/nics/features/octeontx2.ini +1 -0
@@ -27,6 +27,7 @@ RSS hash = Y RSS key update = Y RSS reta update = Y Inner RSS = Y +Inline protocol = Y VLAN filter = Y Flow control = Y Flow API = Y
Signature · 1 line
2.7.4
PATCH v3 1/1 doc: add inline protocol in feature list
Update feature list to include inline protocol offload.
---
v3
* Added inline protocol in octeontx2_vf.ini
v2
* Reworded doc following suggestions from Akhil
doc/guides/nics/features.rst | 27 ++++++++++++++++++++++++++- doc/guides/nics/features/default.ini | 1 + doc/guides/nics/features/octeontx2.ini | 1 + doc/guides/nics/features/octeontx2_vf.ini | 1 + 4 files changed, 29 insertions(+), 1 deletion(-)
doc/guides/nics/features.rst +26 -1
@@ -421,7 +421,9 @@ Supports adding traffic mirroring rules. Inline crypto ------------- -Supports inline crypto processing (e.g. inline IPsec). See Security library and PMD documentation for more details. +Supports inline crypto processing defined by rte_security library to perform crypto +operations of security protocol while packet is received in NIC. NIC is not aware +of protocol operations. See Security library and PMD documentation for more details. * **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:DEV_RX_OFFLOAD_SECURITY``, * **[uses] rte_eth_txconf,rte_eth_txmode**: ``offloads:DEV_TX_OFFLOAD_SECURITY``.
@@ -431,6 +433,29 @@ Supports inline crypto processing (e.g. inline IPsec). See Security library and ``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_SECURITY``. * **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD``, ``mbuf.ol_flags:PKT_TX_SEC_OFFLOAD``, ``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD_FAILED``. +* **[provides] rte_security_ops, capabilities_get**: ``action: RTE_SECURITY_ACTION_TYPE_INLINE_CRYPTO`` + + +.. _nic_features_inline_protocol_doc: + +Inline protocol +--------------- + +Supports inline protocol processing defined by rte_security library to perform +protocol processing for the security protocol (e.g. IPsec, MACSEC) while the +packet is received at NIC. The NIC is capable of understanding the security +protocol operations. See security library and PMD documentation for more details. + +* **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:DEV_RX_OFFLOAD_SECURITY``, +* **[uses] rte_eth_txconf,rte_eth_txmode**: ``offloads:DEV_TX_OFFLOAD_SECURITY``. +* **[implements] rte_security_ops**: ``session_create``, ``session_update``, + ``session_stats_get``, ``session_destroy``, ``set_pkt_metadata``, ``get_userdata``, + ``capabilities_get``. +* **[provides] rte_eth_dev_info**: ``rx_offload_capa,rx_queue_offload_capa:DEV_RX_OFFLOAD_SECURITY``, + ``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_SECURITY``. +* **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD``, + ``mbuf.ol_flags:PKT_TX_SEC_OFFLOAD``, ``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD_FAILED``. +* **[provides] rte_security_ops, capabilities_get**: ``action: RTE_SECURITY_ACTION_TYPE_INLINE_PROTOCOL`` .. _nic_features_crc_offload:
doc/guides/nics/features/default.ini +1 -0
@@ -42,6 +42,7 @@ Flow API = Rate limitation = Traffic mirroring = Inline crypto = +Inline protocol = CRC offload = VLAN offload = QinQ offload =
doc/guides/nics/features/octeontx2.ini +1 -0
@@ -27,6 +27,7 @@ RSS hash = Y RSS key update = Y RSS reta update = Y Inner RSS = Y +Inline protocol = Y VLAN filter = Y Flow control = Y Flow API = Y
doc/guides/nics/features/octeontx2_vf.ini +1 -0
@@ -21,6 +21,7 @@ RSS hash = Y RSS key update = Y RSS reta update = Y Inner RSS = Y +Inline protocol = Y VLAN filter = Y Flow API = Y Jumbo frame = Y
Signature · 1 line
2.7.4
Quoted 9 lines
Update feature list to include inline protocol offload.
Signed-off-by Anoob Joseph <[email protected]>---
v3
* Added inline protocol in octeontx2_vf.ini
Quoted 9 lines
v2
* Reworded doc following suggestions from Akhildoc/guides/nics/features.rst | 27 ++++++++++++++++++++++++++- doc/guides/nics/features/default.ini | 1 + doc/guides/nics/features/octeontx2.ini | 1 + doc/guides/nics/features/octeontx2_vf.ini | 1 + 4 files changed, 29 insertions(+), 1 deletion(-)
Ferruh,
Do you want me to take this patch on crypto tree or you would be taking it.
Regards,
Akhil
Quoted 18 lines · Akhil Goyal
Quoted 9 lines
Update feature list to include inline protocol offload.
Signed-off-by Anoob Joseph <[email protected]>---
v3
* Added inline protocol in octeontx2_vf.iniQuoted 9 lines
v2
* Reworded doc following suggestions from Akhildoc/guides/nics/features.rst | 27 ++++++++++++++++++++++++++- doc/guides/nics/features/default.ini | 1 + doc/guides/nics/features/octeontx2.ini | 1 + doc/guides/nics/features/octeontx2_vf.ini | 1 + 4 files changed, 29 insertions(+), 1 deletion(-)
Quoted 5 lines
Acked-by Akhil Goyal <[email protected]>Ferruh,
Do you want me to take this patch on crypto tree or you would be taking it.
Thanks Akhil, both are OK for me, but there are already a few patches merged in next-net so let me get this one too to simply merging to main repo.
Ferruh Yigit
AppliedQuoted 19 lines · Ferruh Yigit
Quoted 18 lines · Akhil Goyal
Quoted 18 lines
Update feature list to include inline protocol offload.
Signed-off-by Anoob Joseph <[email protected]>---
v3
* Added inline protocol in octeontx2_vf.iniv2
* Reworded doc following suggestions from Akhildoc/guides/nics/features.rst | 27 ++++++++++++++++++++++++++- doc/guides/nics/features/default.ini | 1 + doc/guides/nics/features/octeontx2.ini | 1 + doc/guides/nics/features/octeontx2_vf.ini | 1 + 4 files changed, 29 insertions(+), 1 deletion(-)
Quoted 9 lines
Quoted 5 lines
Acked-by Akhil Goyal <[email protected]>Ferruh,
Do you want me to take this patch on crypto tree or you would be taking it.Thanks Akhil, both are OK for me, but there are already a few patches merged in next-net so let me get this one too to simply merging to main repo.
Applied to dpdk-next-net/master, thanks.