From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 61C911B3EC for ; Thu, 3 Jan 2019 21:37:00 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jan 2019 12:36:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,436,1539673200"; d="scan'208";a="135120548" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by fmsmga001.fm.intel.com with ESMTP; 03 Jan 2019 12:36:58 -0800 Received: from irsmsx106.ger.corp.intel.com ([169.254.8.161]) by IRSMSX103.ger.corp.intel.com ([169.254.3.60]) with mapi id 14.03.0415.000; Thu, 3 Jan 2019 20:36:57 +0000 From: "Ananyev, Konstantin" To: Akhil Goyal , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v5 03/10] examples/ipsec-secgw: fix crypto-op might never get dequeued Thread-Index: AQHUnsLR2vfYadi010ijnPUWLl3W0qWb43WAgAAYWACAAArxAIACAgpw Date: Thu, 3 Jan 2019 20:36:57 +0000 Message-ID: <2601191342CEEE43887BDE71AB977258010D8F7A70@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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjRmYjMwOTYtN2I4Mi00MmVlLWI3Y2ItZDg3ZDc2M2ZjN2Q2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiSUtqck94OHorc3ZBYXVJVGVOaTBPM0JTb0FtTHlqa29UTThCNG82VU1sTVVWYjFGSU9QK0tzTEdnSHdDd2t2QiJ9 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: Thu, 03 Jan 2019 20:37:00 -0000 SGkgQWtoaWwsDQoNCj4gPj4+IEluIHNvbWUgY2FzZXMgY3J5cHRvLW9wcyBjb3VsZCBuZXZlciBi ZSBkZXF1ZXVlZCBmcm9tIHRoZSBjcnlwdG8tZGV2aWNlLg0KPiA+Pj4gVGhlIGVhc2llc3Qgd2F5 IHRvIHJlcHJvZHVjZToNCj4gPj4+IHN0YXJ0IGlwc2VjLXNlY2d3IHdpdGggY3J5cHRvLWRldiBh bmQgc2VuZCB0byBpdCBsZXNzIHRoZW4gMzIgcGFja2V0cy4NCj4gPj4+IG5vbmUgcGFja2V0cyB3 aWxsIGJlIGZvcndhcmRlZC4NCj4gPj4+IFJlYXNvbiBmb3IgdGhhdCBpcyB0aGF0IHRoZSBhcHBs aWNhdGlvbiBkb2VzIGRlcXVldWUoKSBmcm9tIGNyeXB0by1xdWV1ZXMNCj4gPj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