ethdev: fix ESP packet type description
Checks
Commit Message
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(-)
Comments
> 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>
>> 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
@@ -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
/**