From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id B763BA05D3 for ; Fri, 26 Apr 2019 09:14:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E21A01B5EB; Fri, 26 Apr 2019 09:14:21 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60043.outbound.protection.outlook.com [40.107.6.43]) by dpdk.org (Postfix) with ESMTP id C10F01B5EB; Fri, 26 Apr 2019 09:14:20 +0200 (CEST) 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=eUJF9rpLDt6uP3hfm8fZwz6mf6f7RKB+0JHe9+9oBwU=; b=T6Vt6CumvrqfygXI1QbBLoaCZW4+awtRnE+1zwL+KWj2ErMJA2H/kf5So1kpv0pD6bz/cFFuu/vKsbFisiVkqGSQsNZ068DoNg0hrgASr1iVA0zEUEHwdoNSXS3bAZ4lM9fPUdR7nFO5fwW1+k4ZQkEIT9xuYgTaGH2/uP7dNTE= Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com (10.168.65.19) by VI1PR0401MB2238.eurprd04.prod.outlook.com (10.169.133.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.13; Fri, 26 Apr 2019 07:14:19 +0000 Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com ([fe80::e5c6:94ac:ff8d:fc1b]) by VI1PR0401MB2541.eurprd04.prod.outlook.com ([fe80::e5c6:94ac:ff8d:fc1b%8]) with mapi id 15.20.1835.010; Fri, 26 Apr 2019 07:14:19 +0000 From: Hemant Agrawal To: Kevin Traynor , Akhil Goyal , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [EXT] Re: [dpdk-dev] [PATCH 5/6] crypto/dpaa_sec: fix session qp attach/detach Thread-Index: AQHU5JO267JGdu1R5EyYqg61OLdBa6ZNPW2AgAAV9wCAAOKiQA== Date: Fri, 26 Apr 2019 07:14:19 +0000 Message-ID: References: <20190327114407.13697-1-akhil.goyal@nxp.com> <20190327114407.13697-6-akhil.goyal@nxp.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; x-originating-ip: [92.120.1.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5228bf11-f86a-4d6a-bac9-08d6ca16ccee x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:VI1PR0401MB2238; x-ms-traffictypediagnostic: VI1PR0401MB2238: x-microsoft-antispam-prvs: x-forefront-prvs: 001968DD50 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(136003)(396003)(376002)(39860400002)(346002)(13464003)(199004)(189003)(14454004)(66476007)(99286004)(66556008)(7736002)(9686003)(2906002)(7696005)(76176011)(5024004)(4326008)(52536014)(110136005)(66946007)(73956011)(66446008)(256004)(478600001)(316002)(25786009)(55016002)(229853002)(6246003)(33656002)(76116006)(97736004)(3846002)(6116002)(26005)(6436002)(81156014)(5660300002)(64756008)(86362001)(74316002)(8676002)(186003)(81166006)(68736007)(6506007)(53546011)(102836004)(305945005)(476003)(11346002)(44832011)(71200400001)(71190400001)(486006)(8936002)(446003)(93886005)(66066001)(53936002)(2501003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB2238; H:VI1PR0401MB2541.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: hPpiLpb1vSFjoSGNJYCThzaMABVqc92XD0MggHIaXANzcMyjNgdelbvL5+y1usa61e+PEnTYKUOswa7KCBZY9P/fFvPYUjRGHB0avOElxj6hKLnJ3X6vtUPEidHN19AuJsWE2sIVMps9iPPgKjKwq3vnUmQs+HnYfgIZOoD70kU0fxXKkMFJpJG8ND/ZErDeEgap5Buvfvl7JbKdMby2OABHCirnIU5gO7ueqKmQtOyJT97MpRIbCtghI2eCwmAMy6gLBzFwizwj8nKHU1hKCjDQeVNlmn5t0C8qFGTjMVqi7X2rBya3BUsOIoih83KRCRwimph+JHpgqCW7lw5sh3tLoKJqc6XNiSwJ5L7gRlmZX320zPuDhitomxyF2fYTM6XlM0lIVOGzgRPpNz0FYqzJFDI59NPYeMV6grneCWY= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5228bf11-f86a-4d6a-bac9-08d6ca16ccee X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Apr 2019 07:14:19.4121 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2238 Subject: Re: [dpdk-dev] [EXT] Re: [PATCH 5/6] crypto/dpaa_sec: fix session qp attach/detach 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190426071419.EaG9h-oUXPDS7uu86TGupE6nWbFl_IJ626C7AOCYSvc@z> SGkgS2V2aW4sDQoJVGhhbmtzIH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