From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 12578199B0 for ; Wed, 17 Jan 2018 17:54:22 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jan 2018 08:54:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,372,1511856000"; d="scan'208";a="166871558" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by orsmga004.jf.intel.com with ESMTP; 17 Jan 2018 08:54:20 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.167]) by IRSMSX109.ger.corp.intel.com ([169.254.13.28]) with mapi id 14.03.0319.002; Wed, 17 Jan 2018 16:54:19 +0000 From: "De Lara Guarch, Pablo" To: "Nicolau, Radu" , Akhil Goyal , "dev@dpdk.org" CC: "hemant.agrawal@nxp.com" , "Gonzalez Monroy, Sergio" Thread-Topic: [PATCH] examples/ipsec-secgw: improve ipsec dequeue logic Thread-Index: AQHTdKxvsmrtJQNeik2GjVRk2s31qaN24E4AgAGdCgA= Date: Wed, 17 Jan 2018 16:54:18 +0000 Message-ID: References: <20171214071923.10087-1-akhil.goyal@nxp.com> <763A2F19A5EFF34F8B7F1657C992EE297B30EC1B@IRSMSX104.ger.corp.intel.com> In-Reply-To: <763A2F19A5EFF34F8B7F1657C992EE297B30EC1B@IRSMSX104.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNWRmYjZkYWQtNzc2Ny00ZWFjLTg2MTUtMjg3Y2M1OGNkZmFkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IkJcL2JBcHJBK1VMN09YR2J6VFBjUVBod094SzJ6RWtQdjhSclZTNDg4VFEwPSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: improve ipsec dequeue logic 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, 17 Jan 2018 16:54:23 -0000 > -----Original Message----- > From: Nicolau, Radu > Sent: Tuesday, January 16, 2018 4:13 PM > To: Akhil Goyal ; dev@dpdk.org > Cc: De Lara Guarch, Pablo ; > hemant.agrawal@nxp.com; Gonzalez Monroy, Sergio > > Subject: RE: [PATCH] examples/ipsec-secgw: improve ipsec dequeue logic >=20 >=20 > > -----Original Message----- > > From: Akhil Goyal [mailto:akhil.goyal@nxp.com] > > Sent: Thursday, December 14, 2017 7:19 AM > > To: dev@dpdk.org > > Cc: De Lara Guarch, Pablo ; > > hemant.agrawal@nxp.com; Gonzalez Monroy, Sergio > > ; Nicolau, Radu > > ; Akhil Goyal > > Subject: [PATCH] examples/ipsec-secgw: improve ipsec dequeue logic > > > > Since the processing of crypto operations may take time due to > > hardware offload, all the packets may not be available in the single > dequeue command. > > So it may happen that there is leakage of cops, and there is nobody to > > dequeue the packets because dequeue of crypto ops is done only once > > for a particular queue pair even if it has more packets in flight. > > > > This patch dequeue the packets again if the inflight packets are more > > than the max packet burst. > > > > Signed-off-by: Akhil Goyal >=20 > Acked-by: Radu Nicolau Applied to dpdk-next-crypto. Thanks, Pablo