From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50079.outbound.protection.outlook.com [40.107.5.79]) by dpdk.org (Postfix) with ESMTP id 73C0C3256; Mon, 12 Nov 2018 13:50:09 +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=oVRvZKsIHWV8bhq3xq68LkjLbVoJEZ1Fsxg2mzt7GXY=; b=Lv2REO9s0Leg4FLAPWcJfeSV8TnrMrg5EavBf1w32EMkKS16MxC768a2yuIdpdT+sAdFiPjGgNHVdR5c8S+/zH6XLfKA1Eu7OcVj/3tNo1VETBf/zBiG+E5dGOd84zlCj7dq9SqlaZza+rcQUEaiGJNLq/PthNjM/eLfAqw6/Ps= Received: from VI1PR04MB4893.eurprd04.prod.outlook.com (20.177.49.154) by VI1PR04MB5613.eurprd04.prod.outlook.com (20.178.125.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.21; Mon, 12 Nov 2018 12:50:08 +0000 Received: from VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::70c8:7997:4cf:743f]) by VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::70c8:7997:4cf:743f%2]) with mapi id 15.20.1294.044; Mon, 12 Nov 2018 12:50:08 +0000 From: Akhil Goyal To: Fan Zhang , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] crypto/aesni_mb: fix queue pair free Thread-Index: AQHUZTUMIQCHNIcHZk28Wa6lfHXgfaVMQgoA Date: Mon, 12 Nov 2018 12:50:08 +0000 Message-ID: <524d4669-d726-d97d-c0f4-3cef6883ff0c@nxp.com> References: <20181016094554.36422-1-roy.fan.zhang@intel.com> In-Reply-To: <20181016094554.36422-1-roy.fan.zhang@intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR0101CA0025.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1a::11) 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; VI1PR04MB5613; 6:vOyMPSIdzahQ8efc3ei36ciC6DMEiilCowmyI2VIbI2KpYCQKf3CExD+pv6Kq/PIEwy7/BShFpr6yEbo2X8cbfJgxE2uhQTAuXu3d6qL2gzfUmFS9zZwmxPmf1WJnPHeGuZow6Q0YW3w+NJ/FuMtNHLSRyxga9U98th22ojv2vy0Hwyk4c5/NN0g5Z3xUQw2p3eBA2XJ6dnW1TaR8t28YHgd3tzFw3c+MUk4RaRgymQNtSykDNdBJLd7ELe2FgoHhDcym5czYHqm0hfH2OtVUyt+QvORHNcFi74UQgyTRUxDM2BRq7uHAfHM5c5PuwoyduymTBYTSMYm2hval7r1AqAWMpE8LN1+9KQ4HF8wKavu2+/C5CZQlVjb/+lr+YgB3iohF1mwXkyqImsxch6CJcgpmcV+gg4CV2hCnZpmWy5H/yTsS0ci6tzTYWYFRducip3rty5XMIuKG4dlvfZBiw==; 5:MlNGFCvEBmFvbWVdmUlrxEj96u96S+1i3FKKs/SRIYTPZ8dRgnOFWuIn6SxVPdu5pw7Ia/0w0lxvThZ0bF5qyZFhxJUkTRXmLoLz6W82J2HMv36iwZw6WqRn/Z2niILTj8/xHeNaWdP1Up1f2HNoOQPgn+/Xeb7CZIP3SniDGH0=; 7:guo51L5uZ+JWEU6mg5c/vZysd1jjLOiXBv0d3SAl/nAjkAE1qhnifJSYX+Rrc9+cQPQ4LIKeUIvWP8ZDNzqpaHy+sdYT9SjAF6PHQl5MznXFXAGYKL96zp6iiPyG0myTIxoMgxrVfi7YauaQpPrlUg== x-ms-office365-filtering-correlation-id: f17e4aad-ce62-4774-70b3-08d6489d6019 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390040)(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB5613; x-ms-traffictypediagnostic: VI1PR04MB5613: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231382)(944501410)(52105112)(93006095)(93001095)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB5613; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB5613; x-forefront-prvs: 0854128AF0 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(366004)(346002)(39860400002)(136003)(376002)(199004)(189003)(105586002)(8936002)(4326008)(106356001)(305945005)(26005)(78486014)(55236004)(71190400001)(31686004)(6246003)(25786009)(53936002)(7736002)(110136005)(2616005)(71200400001)(68736007)(102836004)(99286004)(31696002)(446003)(229853002)(476003)(36756003)(86362001)(316002)(14454004)(256004)(52116002)(2900100001)(6486002)(8676002)(5660300001)(486006)(3846002)(6116002)(6512007)(11346002)(97736004)(2501003)(386003)(478600001)(66066001)(44832011)(2906002)(53546011)(6506007)(6436002)(186003)(81166006)(81156014)(76176011); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB5613; 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-microsoft-antispam-message-info: EJXrVVNEORxmAqqKzGia5PdxXHYKXmB4dTlSVZB9sJywzXx7050iWRQm6uk1lGbxR6rhuVG11bTZUBQmo6XhOVFhBhKwQbpDuV82iZKkmrwEzKqvpSYdts8B7W/prXsELa8CUZgLDcwOcePNsKzoictf5wemkfv0wDxkBPRVDlvA8Ji1tZXYILO1lL4+L8uGEcLt1xdXCpy07+Sfne+BMv+Y8PK1FWtX/+W7kSesLkPUrog3WPDrZVbtjLQQRWOI/fxwDO4b4FPj9Eu6B8ClUC7IA1raZTTVxmhmt1CEw0IXKeGR48cEYXev5TvxaRxXt6AHLGcY9CbXj2eYDvS9RCk/124DSn1wk2up4V/7EH8= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <76C99778ECB38142AB766DC8F4FA2245@eurprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f17e4aad-ce62-4774-70b3-08d6489d6019 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Nov 2018 12:50:08.4703 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5613 Subject: Re: [dpdk-dev] [PATCH] crypto/aesni_mb: fix queue pair free 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: Mon, 12 Nov 2018 12:50:09 -0000 DQoNCk9uIDEwLzE2LzIwMTggMzoxNSBQTSwgRmFuIFpoYW5nIHdyb3RlOg0KPiBUaGlzIHBhdGNo IGZpeGVzIHRoZSBxdWV1ZSBwYWlyIGZyZWUgZm9yIEFFU05JLU1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