From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40042.outbound.protection.outlook.com [40.107.4.42]) by dpdk.org (Postfix) with ESMTP id 804241B138; Wed, 2 Jan 2019 12:44:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nmo1tNhm/RKDr7BWvM8Xxor2KpJbn15x+vc+Pep5t9k=; b=IO+47aNe7PnAojKUTdKHBP/pstnP9393nIeu6pDq991I1VS7ehW4fbr+VI7+rUMf0yUuKyj173kejEc1GgY0z8bVzlS4PYO2lGHG8OwoBfcHtxJXSH24dYuZx9ksmle27FgZyDIbioFhp38B7UEvEby1LGZz45o+Pvr5+TkQ79I= Received: from VI1PR04MB4893.eurprd04.prod.outlook.com (20.177.49.154) by VI1PR04MB5309.eurprd04.prod.outlook.com (20.177.52.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1495.7; Wed, 2 Jan 2019 11:44:17 +0000 Received: from VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::7dc4:610b:d0c1:146b]) by VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::7dc4:610b:d0c1:146b%4]) with mapi id 15.20.1471.019; Wed, 2 Jan 2019 11:44:17 +0000 From: Akhil Goyal To: Konstantin Ananyev , "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: AQHUnsLK7XysutDOMkq1jf1kHx4ewaWb420A Date: Wed, 2 Jan 2019 11:44:17 +0000 Message-ID: References: <1544805623-18150-2-git-send-email-konstantin.ananyev@intel.com> <1546011238-22318-4-git-send-email-konstantin.ananyev@intel.com> In-Reply-To: <1546011238-22318-4-git-send-email-konstantin.ananyev@intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR01CA0074.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::14) To VI1PR04MB4893.eurprd04.prod.outlook.com (2603:10a6:803:56::26) authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [14.143.30.134] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB5309; 6:MqmotWLPfZdXcp4uQ+CzOLJ296Pmb5nhjLJXigxHlIVd17zYnR8PQwqU6noaaSkyjMeSUrEjaBSXfqwdm2/G9lwha/f+mKtqPZ1yX2hwwspjA/fPcPT7XEiVLjDOWufjoDo5CFBR0VNA+i87HFDfUU9+flDzKHeozo+AV5a5ierdZPsqf91/vcDpEkPWQQikwAqeKlHbCS0GYV9dH3CyNw4gQ/A/uD9LfOmOWyB+ZRexZ+nrlCRJDPD+tlpnjpPURmx65/qtwbOvgngYIDYY13IQ3zW/Iq5Tn8/nirT7xhrjccTDVELAElHjPsuQOSrTJHTd2QxchxpR0bvnN1SzWV4oWnc7p7I8IbQXJEPPi3iQW4uJtkZmSokO+OSDQqIs9V57/3dbhdU24FnLW0DzcRJAP49TuNy5X2JSimENDPI5mF2g2CKvPrwdnp0JAmxg5XhnDcWg3o5ymp7a73V3DQ==; 5:zgnKEdSSP+OdIS17dZWu3NdJnb3Eg2an7aQX5aRmTgWyMHMLLewakeHhnfzOggqBUI16EalfSv0lwlxdpARIEZtZNcf4ed7HgpoLS5kwO//q9F76rKFkgE0AW05PhiWEG91oOT96EXfN7VGvuk0eHalkRq5NG87odXnNIRVdohZ/scRfEovZl7KisotVFKUewgnLMJmeWwpvx8DNXR0qBQ==; 7:AajqP+Uu/v0G6IoHtoQc01lGuu/EFO+ShWPF7JmX5tljSBXP6GeTnpP8T4x2i3Zzq8niYIkfQdL1a3lcF/gQGSQXEseLUpyVBhDdsk6OoH/cfewq25FXMPBY0gzNc1HsX1EodGhlwDFHMDXZcHHvbg== x-ms-office365-filtering-correlation-id: c7f8fdfe-aef6-4257-5203-08d670a7a025 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600109)(711020)(4618075)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB5309; x-ms-traffictypediagnostic: VI1PR04MB5309: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220060)(2401047)(8121501046)(93006095)(93001095)(3231475)(944501520)(52105112)(3002001)(10201501046)(6055026)(6041310)(20161123558120)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB5309; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB5309; x-forefront-prvs: 0905A6B2C7 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(346002)(376002)(39860400002)(396003)(366004)(199004)(189003)(36756003)(386003)(14454004)(6436002)(8936002)(8676002)(81166006)(99286004)(6506007)(81156014)(256004)(26005)(478600001)(55236004)(186003)(53546011)(25786009)(102836004)(476003)(2501003)(305945005)(44832011)(97736004)(11346002)(446003)(2616005)(31686004)(105586002)(71190400001)(71200400001)(76176011)(3846002)(6116002)(106356001)(7736002)(52116002)(5660300001)(486006)(53936002)(575784001)(86362001)(6246003)(31696002)(68736007)(66066001)(6486002)(316002)(110136005)(78486014)(6512007)(2906002)(229853002)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB5309; H:VI1PR04MB4893.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: fg4yXzOeWT12mlWPMa0ma5aj1ZPp2eswkxsSER25jqAq9RUABNkfklAlf1zPI+7jJIRehqjMe8Xy7Kbdim4OMnsVK0WpJHTAfGEevLM+tlQJhAmSVnp42Po+0grXjX1awAz8Mg75W6tUvZ1Q8D7H4ZCfo+QVRZoisFHrISYQVgSp98a7mc8983STWZYbkGqfqrbTTfoWs6eF3g+Nza/O5t6nS6KHuEGobho7E894IWklOXG/ohdrdE4bsw/R3geNTmS4cTrn6gpr8X/dXq0BxjN0OYiuRuX667ABY4ndJm7llJ/n5I8DSOAIPdhovvr3 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c7f8fdfe-aef6-4257-5203-08d670a7a025 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Jan 2019 11:44:17.2756 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5309 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 11:44:18 -0000 DQoNCk9uIDEyLzI4LzIwMTggOTowMyBQTSwgS29uc3RhbnRpbiBBbmFueWV2IHdyb3RlOg0KPiBJ biBzb21lIGNhc2VzIGNyeXB0by1vcHMgY291bGQgbmV2ZXIgYmUgZGVxdWV1ZWQgZnJvbSB0aGUg Y3J5cHRvLWRldmljZS4NCj4gVGhl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