From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id A78F31B21A; Wed, 2 Jan 2019 16:07:50 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jan 2019 07:07:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,431,1539673200"; d="scan'208";a="122696231" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by orsmga002.jf.intel.com with ESMTP; 02 Jan 2019 07:07:47 -0800 Received: from irsmsx106.ger.corp.intel.com ([169.254.8.227]) by IRSMSX104.ger.corp.intel.com ([169.254.5.61]) with mapi id 14.03.0415.000; Wed, 2 Jan 2019 15:06:03 +0000 From: "Ananyev, Konstantin" To: Akhil Goyal , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v5 03/10] examples/ipsec-secgw: fix crypto-op might never get dequeued Thread-Index: AQHUnsLR2vfYadi010ijnPUWLl3W0qWb43WAgAAYWACAAArxAIAAE94Q Date: Wed, 2 Jan 2019 15:06:02 +0000 Message-ID: <2601191342CEEE43887BDE71AB977258010D8C04A9@IRSMSX106.ger.corp.intel.com> References: <1544805623-18150-2-git-send-email-konstantin.ananyev@intel.com> <1546011238-22318-4-git-send-email-konstantin.ananyev@intel.com> <2601191342CEEE43887BDE71AB977258010D8C046D@IRSMSX106.ger.corp.intel.com> In-Reply-To: Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMGM4MzFkYWEtMjY4Yi00YzY3LTliYWMtMTM2Njk1OGUxYzZjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiUEhcL0dwNjZlSzVOZWo1dzZ5TFZLcmUrMGxUWE83Qjh1WEt0Tmw0Z1g0eGpZOEdDUFVmZkROZ1FrREJcL3hRQ1RxIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v5 03/10] examples/ipsec-secgw: fix crypto-op might never get dequeued 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, 02 Jan 2019 15:07:51 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQWtoaWwgR295YWwgW21h aWx0bzpha2hpbC5nb3lhbEBueHAuY29tXQ0KPiBTZW50OiBXZWRuZXNkYXksIEphbnVhcnkgMiwg MjAxOSAxOjUxIFBNDQo+IFRvOiBBbmFueWV2LCBLb25zdGFudGluIDxrb25zdGFudGluLmFuYW55 ZXZAaW50ZWwuY29tPjsgZGV2QGRwZGsub3JnDQo+IENjOiBzdGFibGVAZHBkay5vcmcNCj4gU3Vi amVjdDogUmU6IFtkcGRrLWRldl0gW1BBVENIIHY1IDAzLzEwXSBleGFtcGxlcy9pcHNlYy1zZWNn dzogZml4IGNyeXB0by1vcCBtaWdodCBuZXZlciBnZXQgZGVxdWV1ZWQNCj4gDQo+IA0KPiAN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