From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B4F28A2EFC for ; Tue, 15 Oct 2019 16:39:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E9F0E1ECD2; Tue, 15 Oct 2019 16:39:40 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50129.outbound.protection.outlook.com [40.107.5.129]) by dpdk.org (Postfix) with ESMTP id 516FB1ECD1; Tue, 15 Oct 2019 16:39:39 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iuDf2i7uEydYP50UuzOv1hqecrR+0yoRBXW4myDFjDVh0JyZZ3qYqyYhQcV2yejpPPlReMmG7lPr9ECyZCQkURbg/LRbJpeXxM1ZxYGCIhFQxQKSrZN7L4z+4W3MSeTcx95avTHghuTl8TV8b4MGy0C7Tb972I/RutiGlZL/GvS9k3nOj6pChJSFHfYSYNEHE2KVY7GN1wVVtTTOdhl2rY2eRC8DTq2EnueZBcCw/Mcy9eAWEKdLmpVp/yYaQxvWj8YkAXAXFtVpeXW0F7tfW9+SMrqL14B3DbzQnMxXYMjcLoNYE0uDOQuekTR41oyQ33jnt/CmAin2RqrjsaGMBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PEC4TmVESa9mKhljCDt/FdBaDcTaTjBsLsuQO4MjUKw=; b=SSWcTxmR7jLrOoVr5ez6EC5rEA1wmYJS89SB6v4dXtDOP4eUX7jpPXpMlLvM5YjBdvOJN4unEPSnOB4z1CjJForQL+mO4DeGn42mmF7s/JNYeFKk6UPcvaz8cXcbYtIDWV5QCZbWhe1o2widZkVOFb/JLndbwHAGVXp0aVehuHfVGmSJqKq0l5MVIrxPaUyr6nBENZPcbm8dERDeWLUtdDzgQzwwrTYUHjEIm8w42lCdP/fEzfGjFBM6EurNCunFXJYCykJ0aGdR1VtxLXnJJn6R0T0sv7KUKcyynTGTRWtPaAgMTM05oDBNovMmddP1CXNAO+z/n1UWwwNN1qKPaw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nokia.com; dmarc=pass action=none header.from=nokia.com; dkim=pass header.d=nokia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PEC4TmVESa9mKhljCDt/FdBaDcTaTjBsLsuQO4MjUKw=; b=NEadTwMQzP3mPjZU+u7LoPfRps2hkC01cM1doXKBLCix8uJa0xg29zSPfxg39lNOYnKOqAIgIYia6T/JWMdh+4D3Mtv216S0nee9JK7ElwRik0l9uUs72/fFjY1o1nKULlu6e7t7pcQIVrUm+yhqIuu2FoGfFl6ynvaR5T4QxRQ= Received: from DB7PR07MB4041.eurprd07.prod.outlook.com (52.134.99.12) by DB7PR07MB5894.eurprd07.prod.outlook.com (20.177.192.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2367.14; Tue, 15 Oct 2019 14:39:38 +0000 Received: from DB7PR07MB4041.eurprd07.prod.outlook.com ([fe80::5832:2c53:ef5e:840f]) by DB7PR07MB4041.eurprd07.prod.outlook.com ([fe80::5832:2c53:ef5e:840f%7]) with mapi id 15.20.2347.023; Tue, 15 Oct 2019 14:39:38 +0000 From: "Meunier, Julien (Nokia - FR/Paris-Saclay)" To: Akhil Goyal , Pablo de Lara , Declan Doherty CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] cryptodev: fix invalid dev_id after a pmd close Thread-Index: AQHVeekOw+szlxW1606Y1l9MxZaAyqdbyYEAgAAPW4A= Date: Tue, 15 Oct 2019 14:39:37 +0000 Message-ID: <8eded01d-bf6d-8a3c-e8cf-d722adfebffa@nokia.com> References: <20190807083946.39309-1-julien.meunier@nokia.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: PR1PR01CA0014.eurprd01.prod.exchangelabs.com (2603:10a6:102::27) To DB7PR07MB4041.eurprd07.prod.outlook.com (2603:10a6:5:6::12) x-originating-ip: [131.228.32.167] authentication-results: spf=none (sender IP is ) smtp.mailfrom=julien.meunier@nokia.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9ba19f95-cfee-44d3-828e-08d7517d8145 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: DB7PR07MB5894: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 01917B1794 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(136003)(39860400002)(396003)(376002)(346002)(189003)(199004)(14444005)(186003)(6512007)(26005)(6246003)(102836004)(2906002)(386003)(53546011)(6506007)(36756003)(446003)(11346002)(6436002)(5660300002)(476003)(2616005)(7736002)(52116002)(76176011)(6486002)(486006)(256004)(305945005)(99286004)(81166006)(81156014)(8676002)(4326008)(316002)(229853002)(8936002)(31686004)(66066001)(31696002)(25786009)(478600001)(110136005)(64756008)(66556008)(66476007)(54906003)(3846002)(66946007)(66446008)(71190400001)(71200400001)(86362001)(6116002)(14454004); DIR:OUT; SFP:1102; SCL:1; SRVR:DB7PR07MB5894; H:DB7PR07MB4041.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: TCGSBvwDwMmumMBYV7W4KCOXdFW9cTl2fzHpgM725n8y4UpAr+vG7V7di1yqpIFywxrxFieagwgKEVfpku63/T40W5dCQ/CEjVptwM54/SN1EZHYfq0pXavVrI6a1Xh+/bZ9404qT9ReCF1tluXj912viCMK97rd5VFwx/EjI0kx34u9Jx3c3DZk/6A+e7fCqhkjv3EfcSH6axd54EXiYtG5nfxDl5TSimt0IErloLikdXZNvQTtLZRVuPkgYYrFsyUWekL1Exk+XC/xLSBxBSw1xWFwQsGozgGhzwcjHAXKthSoEmHGBNmnOXmJ8aSs3fUVteCqdNHVzD0BaoJsHP77fe66oYrrLwqqtopR0N9IFVEDviondTO8i6X7FoINIqH4L96suY+k1WEPZT+zHLA7GFyL5Y5a1G1nw3rQmag= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <559100D1AA34E644B760F0ACD4C9E1AB@eurprd07.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nokia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9ba19f95-cfee-44d3-828e-08d7517d8145 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Oct 2019 14:39:37.9731 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: UrCh6QjR+e6RohJ9ge4vdBZjIvv3DRWiRePt7iqAHx87pUc4w5bNnNsNrxr0Gw1mkwV/a8UUkRsyKEXbH5INVpHnpd+EGE5wpOHmEuuZHFs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB5894 Subject: Re: [dpdk-dev] [PATCH] cryptodev: fix invalid dev_id after a pmd close 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-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