From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from lfbn-1-6068-189.w90-110.abo.wanadoo.fr ([90.110.3.189] helo=droids-corp.org) by mail.droids-corp.org with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1e7IEW-0006H0-8h; Wed, 25 Oct 2017 11:44:21 +0200 Received: by droids-corp.org (sSMTP sendmail emulation); Wed, 25 Oct 2017 11:38:17 +0200 Date: Wed, 25 Oct 2017 11:38:17 +0200 From: Olivier MATZ To: Akhil Goyal 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 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 Content-Disposition: inline In-Reply-To: <20171024141545.30837-6-akhil.goyal@nxp.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH v5 05/11] mbuf: add security crypto flags and mbuf fields X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Oct 2017 09:38:29 -0000 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