[dpdk-dev] [PATCH v4 04/10] mbuf: add IPsec ESP tunnel type

Zhang, Roy Fan roy.fan.zhang at intel.com
Fri Sep 3 14:49:52 CEST 2021


> -----Original Message-----
> From: Nicolau, Radu <radu.nicolau at intel.com>
> Sent: Friday, September 3, 2021 12:26 PM
> To: Olivier Matz <olivier.matz at 6wind.com>
> Cc: dev at dpdk.org; mdr at ashroe.eu; Ananyev, Konstantin
> <konstantin.ananyev at intel.com>; Medvedkin, Vladimir
> <vladimir.medvedkin at intel.com>; Richardson, Bruce
> <bruce.richardson at intel.com>; Zhang, Roy Fan <roy.fan.zhang at intel.com>;
> hemant.agrawal at nxp.com; gakhil at marvell.com; anoobj at marvell.com;
> Doherty, Declan <declan.doherty at intel.com>; Sinha, Abhijit
> <abhijit.sinha at intel.com>; Buckley, Daniel M <daniel.m.buckley at intel.com>;
> marchana at marvell.com; ktejasree at marvell.com; matan at nvidia.com;
> Nicolau, Radu <radu.nicolau at intel.com>
> Subject: [PATCH v4 04/10] mbuf: add IPsec ESP tunnel type
> 
> Add tunnel type for IPsec ESP tunnels
> 
> Signed-off-by: Declan Doherty <declan.doherty at intel.com>
> Signed-off-by: Radu Nicolau <radu.nicolau at intel.com>
> Signed-off-by: Abhijit Sinha <abhijit.sinha at intel.com>
> Signed-off-by: Daniel Martin Buckley <daniel.m.buckley at intel.com>
> ---
>  lib/mbuf/rte_mbuf_core.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/lib/mbuf/rte_mbuf_core.h b/lib/mbuf/rte_mbuf_core.h
> index bb38d7f581..a4d95deee6 100644
> --- a/lib/mbuf/rte_mbuf_core.h
> +++ b/lib/mbuf/rte_mbuf_core.h
> @@ -253,6 +253,7 @@ extern "C" {
>  #define PKT_TX_TUNNEL_MPLSINUDP (0x5ULL << 45)
>  #define PKT_TX_TUNNEL_VXLAN_GPE (0x6ULL << 45)
>  #define PKT_TX_TUNNEL_GTP       (0x7ULL << 45)
> +#define PKT_TX_TUNNEL_ESP       (0x8ULL << 45)
>  /**
>   * Generic IP encapsulated tunnel type, used for TSO and checksum offload.
>   * It can be used for tunnels which are not standards or listed above.
> --
> 2.25.1

Acked-by: Fan Zhang <roy.fan.zhang at intel.com>


More information about the dev mailing list