From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier MATZ Subject: Re: [PATCH v5 05/11] mbuf: add security crypto flags and mbuf fields Date: Wed, 25 Oct 2017 11:38:17 +0200 Message-ID: <20171025093816.w5ujncito5o7qjuj@platinum> References: <20171014221734.15511-1-akhil.goyal@nxp.com> <20171024141545.30837-1-akhil.goyal@nxp.com> <20171024141545.30837-6-akhil.goyal@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, declan.doherty@intel.com, pablo.de.lara.guarch@intel.com, hemant.agrawal@nxp.com, radu.nicolau@intel.com, borisp@mellanox.com, aviadye@mellanox.com, thomas@monjalon.net, sandeep.malik@nxp.com, jerin.jacob@caviumnetworks.com, john.mcnamara@intel.com, konstantin.ananyev@intel.com, shahafs@mellanox.com To: Akhil Goyal Return-path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 5396E58CE for ; Wed, 25 Oct 2017 11:38:29 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20171024141545.30837-6-akhil.goyal@nxp.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Oct 24, 2017 at 07:45:39PM +0530, Akhil Goyal wrote: > From: Boris Pismenny > > Add security crypto flags and update mbuf fields to support > IPsec crypto offload for transmitted packets, and to indicate > crypto result for received packets. > > Signed-off-by: Aviad Yehezkel > Signed-off-by: Boris Pismenny > Signed-off-by: Radu Nicolau [...] > --- a/lib/librte_mbuf/rte_mbuf.h > +++ b/lib/librte_mbuf/rte_mbuf.h > @@ -189,11 +189,26 @@ extern "C" { > */ > #define PKT_RX_TIMESTAMP (1ULL << 17) > > +/** > + * Indicate that security offload processing was applied on the RX packet. > + */ > +#define PKT_RX_SEC_OFFLOAD (1ULL << 18) > + > +/** > + * Indicate that security offload processing failed on the RX packet. > + */ > +#define PKT_RX_SEC_OFFLOAD_FAILED (1ULL << 19) > + in case you do a v6, please fix the alignment, else we'll fix it globally in another patch later. Acked-by: Olivier Matz