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 261181B2AA for ; Tue, 16 Jan 2018 17:12:41 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jan 2018 08:12:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,369,1511856000"; d="scan'208";a="193773983" Received: from irsmsx105.ger.corp.intel.com ([163.33.3.28]) by orsmga005.jf.intel.com with ESMTP; 16 Jan 2018 08:12:39 -0800 Received: from irsmsx104.ger.corp.intel.com ([169.254.5.248]) by irsmsx105.ger.corp.intel.com ([169.254.7.236]) with mapi id 14.03.0319.002; Tue, 16 Jan 2018 16:12:38 +0000 From: "Nicolau, Radu" To: Akhil Goyal , "dev@dpdk.org" CC: "De Lara Guarch, Pablo" , "hemant.agrawal@nxp.com" , "Gonzalez Monroy, Sergio" Thread-Topic: [PATCH] examples/ipsec-secgw: improve ipsec dequeue logic Thread-Index: AQHTdKxv88NlSnSZ7EKYA5+8QCW8HKN239YQ Date: Tue, 16 Jan 2018 16:12:38 +0000 Message-ID: <763A2F19A5EFF34F8B7F1657C992EE297B30EC1B@IRSMSX104.ger.corp.intel.com> References: <20171214071923.10087-1-akhil.goyal@nxp.com> In-Reply-To: <20171214071923.10087-1-akhil.goyal@nxp.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNWRmYjZkYWQtNzc2Ny00ZWFjLTg2MTUtMjg3Y2M1OGNkZmFkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IkJcL2JBcHJBK1VMN09YR2J6VFBjUVBod094SzJ6RWtQdjhSclZTNDg4VFEwPSJ9 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: Tue, 16 Jan 2018 16:12:42 -0000 > -----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 >=20 > Since the processing of crypto operations may take time due to hardware > offload, all the packets may not be available in the single dequeue comma= nd. > 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. >=20 > This patch dequeue the packets again if the inflight packets are more tha= n > the max packet burst. >=20 > Signed-off-by: Akhil Goyal Acked-by: Radu Nicolau