All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ethdev: fix ESP packet type description
@ 2023-10-25 20:32 Alexander Kozyrev
  2023-10-26  5:49 ` Morten Brørup
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Kozyrev @ 2023-10-25 20:32 UTC (permalink / raw)
  To: dev
  Cc: orika, mb, nithind1988, olivier.matz, rbhansali, matan, thomas, jerinj

The correct protocol number for ESP (IP Encapsulating Security Payload)
packet type is 50. 51 is IPSec AH (Authentication Header).

Fixes: 1e84afd3906b ("mbuf: add security crypto flags and fields")
Signed-off-by: Alexander Kozyrev <akozyrev@nvidia.com>
---
 lib/mbuf/rte_mbuf_ptype.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/mbuf/rte_mbuf_ptype.h b/lib/mbuf/rte_mbuf_ptype.h
index 17a2dd3576..f2276e2909 100644
--- a/lib/mbuf/rte_mbuf_ptype.h
+++ b/lib/mbuf/rte_mbuf_ptype.h
@@ -419,10 +419,10 @@ extern "C" {
  *
  * Packet format:
  * <'ether type'=0x0800
- * | 'version'=4, 'protocol'=51>
+ * | 'version'=4, 'protocol'=50>
  * or,
  * <'ether type'=0x86DD
- * | 'version'=6, 'next header'=51>
+ * | 'version'=6, 'next header'=50>
  */
 #define RTE_PTYPE_TUNNEL_ESP                0x00009000
 /**
-- 
2.18.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [PATCH] ethdev: fix ESP packet type description
  2023-10-25 20:32 [PATCH] ethdev: fix ESP packet type description Alexander Kozyrev
@ 2023-10-26  5:49 ` Morten Brørup
  2023-11-27 15:32   ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: Morten Brørup @ 2023-10-26  5:49 UTC (permalink / raw)
  To: Alexander Kozyrev, dev
  Cc: orika, nithind1988, olivier.matz, rbhansali, matan, thomas, jerinj

> From: Alexander Kozyrev [mailto:akozyrev@nvidia.com]
> Sent: Wednesday, 25 October 2023 22.32
> 
> The correct protocol number for ESP (IP Encapsulating Security Payload)
> packet type is 50. 51 is IPSec AH (Authentication Header).
> 
> Fixes: 1e84afd3906b ("mbuf: add security crypto flags and fields")
> Signed-off-by: Alexander Kozyrev <akozyrev@nvidia.com>
> ---

Reviewed-by: Morten Brørup <mb@smartsharesystems.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ethdev: fix ESP packet type description
  2023-10-26  5:49 ` Morten Brørup
@ 2023-11-27 15:32   ` Thomas Monjalon
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2023-11-27 15:32 UTC (permalink / raw)
  To: Morten Brørup, Alexander Kozyrev, dev
  Cc: orika, nithind1988, Olivier Matz, rbhansali, Matan Azrad,
	Jerin Jacob Kollanukkaran

>> The correct protocol number for ESP (IP Encapsulating Security Payload)
>> packet type is 50. 51 is IPSec AH (Authentication Header).
>> 
>> Fixes: 1e84afd3906b ("mbuf: add security crypto flags and fields")
>> Signed-off-by: Alexander Kozyrev <akozyrev@nvidia.com>
> Reviewed-by: Morten Brørup <mb@smartsharesystems.com>

Applied, thanks

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-11-27 15:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-25 20:32 [PATCH] ethdev: fix ESP packet type description Alexander Kozyrev
2023-10-26  5:49 ` Morten Brørup
2023-11-27 15:32   ` Thomas Monjalon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.