ethdev: fix ESP packet type description
PATCH 1/1 ethdev: fix ESP packet type description
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 <[email protected]>
--- lib/mbuf/rte_mbuf_ptype.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
lib/mbuf/rte_mbuf_ptype.h +2 -2
@@ -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/**
Signature · 1 line
2.18.2
Quoted 9 lines
From: Alexander Kozyrev [mailto:[email protected]]
Sent: Wednesday, 25 October 2023 22.32The 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 <[email protected]>---
Reviewed-by Morten Brørup <[email protected]>
Thomas Monjalon
AppliedQuoted 6 lines
Quoted 5 lines
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 <[email protected]>Reviewed-by Morten Brørup <[email protected]>
Applied, thanks