From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8385BA0C43; Wed, 20 Oct 2021 19:25:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4C12A40142; Wed, 20 Oct 2021 19:25:17 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 8C2E34003E; Wed, 20 Oct 2021 19:25:15 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10143"; a="289686698" X-IronPort-AV: E=Sophos;i="5.87,167,1631602800"; d="scan'208";a="289686698" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 10:25:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,167,1631602800"; d="scan'208";a="631352539" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by fmsmga001.fm.intel.com with ESMTP; 20 Oct 2021 10:25:14 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 20 Oct 2021 10:25:13 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 20 Oct 2021 10:25:13 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.171) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 20 Oct 2021 10:25:13 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lRo3eXmCKN6WWhCfFpQtEaSrOZWnyQM/gh6gkG33rEhNq+o7s+Y++nzdqMsAuY8w4Y+DsaIduLGLTy1cJjKi9AdbyA4sYek/eDwu2JFYobQqPHNcxX3A/DjrnNM+xH5UrTXwGuG8dVYbYrsoiKOnypKVo0Xugu/x3sZRWzrNB6EbpPmTMcDIsqxE0fxXBALy5OvjqJPzEDAXoS+6zovU0sSoULxWnIoF5DXjm8sSzTVc05dhNfKbp5tqrMcVoVI775RF9a0Fqw2pfawnCCIUM9dTrG5FlO27vYZbGbMllnJhZreXclcr4qiyoJjEW9HuQiZDiJSAmVz1SmAoF3ohSw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=sB9j/leJ/gkg3EGt/763nzZwkH0o7w7XlPvpyuIHKaU=; b=UW4wdl/AYEdAOT763dMmc20HiitcSHfY9BNpWSw3AJva0lyHWazhsXAgheypkgaqm4HesHs9hC8M1BfKFfYX+4GfV6pCsju1UGpwBa57WqBkzocTP7f5YfcAHTEVmjY1MyFL1xr2z9ArwNi7hqMgkpI5S0oh9YJj5aT9gPIN1G9mABDDtKivBmklXfWvM7yv7dAYtWo/eMcfG/xQ54UMBQHFLkCmfbXQqsq0DqHO5IpdyZFQe8OV6By8kZvXUzN4DjNuHeKnzWfqNjaovDUPhbTjZlpiRrG5uv5wghbYmU2Hd1Y7lW9zfBfzkCBX6kUkH6RwH3nc/9vbmb/m+oOpSw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sB9j/leJ/gkg3EGt/763nzZwkH0o7w7XlPvpyuIHKaU=; b=MMYz6Sd3RFglleI56h6SododjwL6P7JEQkj3SxcwcxOWZVbM60+74kJp1Cr3sOSRCjRFUDZPoqPkNlE5E2d918MzLcArVBNsohU9yANbx3a8VpTnjsVKmJyPMXgGY3JsmKxdBsmeV4PMtese/WtSm6vNcW1CNN2ToJDPg7GIuik= Authentication-Results: broadcom.com; dkim=none (message not signed) header.d=none;broadcom.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5016.namprd11.prod.outlook.com (2603:10b6:510:32::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.17; Wed, 20 Oct 2021 17:25:13 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c%5]) with mapi id 15.20.4608.018; Wed, 20 Oct 2021 17:25:12 +0000 Message-ID: <1a68bb67-7f77-2fe4-d34b-ae5a2e16e329@intel.com> Date: Wed, 20 Oct 2021 18:25:06 +0100 Content-Language: en-US To: Ajit Khaparde , Thomas Monjalon CC: Andrew Rybchenko , Tetsuya Mukawa , dpdk-dev , Maxime Coquelin , Chenbo Xia , dpdk stable References: <20211020104715.2526074-1-andrew.rybchenko@oktetlabs.ru> <20211020131540.2957180-1-andrew.rybchenko@oktetlabs.ru> <5543713.CGkvE4ygMq@thomas> From: Ferruh Yigit X-User: ferruhy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0251.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8a::23) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by LO2P265CA0251.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8a::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.16 via Frontend Transport; Wed, 20 Oct 2021 17:25:10 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c4336f15-09bd-49b7-acc4-08d993ee92dd X-MS-TrafficTypeDiagnostic: PH0PR11MB5016: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2657; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RZwIP86w89VTlMdWypnXoYQKOrXjNDt3GxuagvmyiDSVFsFdKbCAwYPEW/zZSQyhOWVmgkV9J9YwrillwAPc86Qv39pyl3A2fFOCfq+pdl+ZzxtVP2uTh2y7ZNavmVmfXJ1Kdkbf7u2cJDZOt9v38PxzAvxznZnyG6NemS43nsznwAeQ9nxRg3hhHnGi2iSOIdbZCi5q5MOpHiA9RuLJ1pehC/vsXe8/2YZW8p+fDhc3BDvLkJd28FIDrh19amCQs7yJbjjtBoTa4DX3GLQfe7BeNBlLJUZUwt+3VGnmmdh8tJ9zOfHAy/DYWwzYbI3aUyGRyaSq+nMYymyKlhn9f/FXvtrnNsyy/NuixmU/xhgd3LstE52c+xF13ebw0JmY+ZS7rib9tHyRLnltx6uOdUv9ZxOguFKFj2u9Y1q+wpjtyB0YPMqrR8o/1uI7g/fmOh8ysBF27Rb1nMpqND+1/VeLNf6cKHlzphbX/FHsacMekxG5+XvCuKvcKQpGclqCIBW1185UM3j3UtqkuU2PtjFgF0QalG3qbwT+cCTQzwzadaUNAmq2zkNVcF3hcNrDG1AlID2Jhp04i1kFEIeTpPrsl632LwHOxjPGXt2XX7LBHSKFJqtRIJ3XF60p0z4m+DgjuxpB6VAggLEOVtha2Dhwqo8j+CoTw8hSSpXbVCPwYPxOLrWAJGGANP3arYfwdbnhTQqWcI+IThB6IbzxHg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(16576012)(31686004)(5660300002)(956004)(186003)(110136005)(316002)(26005)(86362001)(508600001)(82960400001)(54906003)(31696002)(38100700002)(4744005)(36756003)(6666004)(8936002)(83380400001)(44832011)(66946007)(8676002)(4326008)(6486002)(66556008)(53546011)(66476007)(2906002)(2616005)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eTVYYW9TcU9KQk5kOXorMFhvQzBBQmUrWTZCbVl3YndHWTBzRjMzWTY1OWpZ?= =?utf-8?B?NDZmWmt1TDZRY2NlQ2RLenk5dzVDOHVUZ09QTmZIamkwWGdBRVVKYWxLL3J6?= =?utf-8?B?LzBOd3QrY0VrYVhoQUtaNmZBYVcwenJCUExWa2Zpc3lGODEyL3B1Y0VwUGRq?= =?utf-8?B?MW9TUG9rMnNrbXNkSnRuVkcrUnJKUHZmWTdPUUluM1oxWktPeVJmcDhUZVlk?= =?utf-8?B?TjFjR0FhRnRTN29weFJKV3poeFBVU2p0cXd4aGxZNkVqdTF1RGZWMkRSVzZ3?= =?utf-8?B?UWo3RGlrUEQ2aUNtVUNxWmVnWktPK0ZCWktoaVNlcysveFgvUUV5U3hWcVBp?= =?utf-8?B?WjR1MU95aDJMVFVRbHh4NkxrSWVzMW5NS2kxa3BJNDd3Q3E1QXk4QlowUXFU?= =?utf-8?B?L0pUdDh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?= =?utf-8?B?UWZ2Q1BXZ3Z4RkRxTlphWVV3a3NHbllod1JMVWkxUlhKazEvSFM0Q3FCUkdp?= =?utf-8?B?SnY0MWhFUlZwZ2o2bzJKMHFLcmE5ZTlYZzFhb1RaUmVFdGRHdVJlOTFVSUZs?= =?utf-8?B?SmY1Mkc2NjZsSWZZNWVEY2Y3bjR0TVkzTlVvZzg1OE8wWlVNZ0hLekN6M2E2?= =?utf-8?B?QlJUZU1Vc0EwTERjZVA1M0tZY2QwbkdSWXBMemFySUg1RGlFK2cyTVVzcFZk?= =?utf-8?B?MDQzM0c4aHhub1ZKeWpxcWhTNG1MK1lXS0dwVVpMSE5IZU05OFo1U3FPMUV2?= =?utf-8?B?MVRacUppYkYva2ZVNjFxUjQ0RURtSDdrNW9CRGMreER1Q0dDa0gvWk52M29D?= =?utf-8?B?WlBFTTNmOFFCZy9vVmlqWW5nZ2FmWVBxa1VxUVYycVpSMDRycC81YzZ1UXdK?= =?utf-8?Q?5G7axiVbkr4sSbmVd7ZUxs+ZW1BJP332YjYtGDp?= X-MS-Exchange-CrossTenant-Network-Message-Id: c4336f15-09bd-49b7-acc4-08d993ee92dd X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Oct 2021 17:25:12.8332 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ferruh.yigit@intel.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5016 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2] ethdev: do not allow to close started device X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" On 10/20/2021 5:22 PM, Ajit Khaparde wrote: > On Wed, Oct 20, 2021 at 6:37 AM Thomas Monjalon wrote: >> >> 20/10/2021 15:15, Andrew Rybchenko: >>> Ethernet device must be stopped first before close in accordance >>> with the documentation. >>> >>> Fixes: 980995f8cc56 ("ethdev: improve API comments of close and detach functions") >>> Cc: stable@dpdk.org >>> >>> Signed-off-by: Andrew Rybchenko >> >> Acked-by: Thomas Monjalon > Acked-by: Ajit Khaparde > Applied to dpdk-next-net/main, thanks.