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 37C27A0547; Thu, 28 Oct 2021 12:23:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 208A341100; Thu, 28 Oct 2021 12:23:10 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id A5F6940DF4 for ; Thu, 28 Oct 2021 12:23:08 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10150"; a="293833729" X-IronPort-AV: E=Sophos;i="5.87,189,1631602800"; d="scan'208";a="293833729" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2021 03:23:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,189,1631602800"; d="scan'208";a="529957974" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga001.jf.intel.com with ESMTP; 28 Oct 2021 03:23:07 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) 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; Thu, 28 Oct 2021 03:23:07 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 28 Oct 2021 03:23:07 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.102) 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; Thu, 28 Oct 2021 03:23:06 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hbPQFo3UaJhB0qWuiuBhnXGxjQdPWV9kE/pdWAt3skYtM2+vbzqCrMXyDvauSVhCc7g28mtEn4Swv2kjJWarp0aUxBFAeibUCkSnUE+D4FAPtk5XYxIjMKLuzWWAoHfBFZx28jbNjyaSsCmP6G+deJqrGu8D90PCZY+UhFVvhRv6BmC0YtAIiftQfYcmyd0SZ32sbTkvWn832si3fG0EKcmUqYN1jRkC80PhJaHOwwelc53nvx/U89d6694FESo4lPZMjf8uGma+AdMR6rd4g8/WvqgwdC0ksRyyDvai1+fywRD9GYpUKnr6S1JnWkoT0e1qoHz/DGuW+ui/BFKftw== 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=MO49vBoAsoQUW3/TrWwhrO9ROfA6kPgM3DwAQvB/LAM=; b=f2sJBicbJpQCSS+0ZpD1ONyxcnbhubzUZU7ik6fIKG7D1BghoMDnE/rMcCOO+tWGaR7rXCNC/jem1PnEiCENZbeULlPOmsIUzVrUOSkmmVYkUgj5845k9dM0J/cZCpIIe5W0e3g7L/foEmKcwBYkxwTYcbjSjyzwBy9FKYQHzAfbJcTUsyjloLqWFcn9tEx9h8vpU376q9cQ4ttbf/bOE6CfTrctyrt4uzKSi9NQLWxPVmXFAPQnnvtyQwsspiwrDrKQDF3DZX+M/uhWk1dl2PhtQkF/ef3sJsopXoBODtSEy7da+RQWHw+I42N1bpNEAjqXqvYSSQWIgXe3LzVtiw== 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=MO49vBoAsoQUW3/TrWwhrO9ROfA6kPgM3DwAQvB/LAM=; b=tDwgbjF4+7Qkyca+vn2emPaesaClAD7AbAEiLNKL/C4Yo8Bshd3v3AjTWW0MCFPsesu6Gl630dbfwchvXPPogviQhUg6BpBbPHbRDI1rVd2rqJxzUya7SPNwXTJsQWHTRLlLCRMCIn25dD3IzrngJmnchcGIT9A3PNHDeIHg27Y= Authentication-Results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5925.namprd11.prod.outlook.com (2603:10b6:510:143::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15; Thu, 28 Oct 2021 10:23:05 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c%6]) with mapi id 15.20.4628.020; Thu, 28 Oct 2021 10:23:05 +0000 Message-ID: <1628c943-58b6-12ff-9827-dc493420e074@intel.com> Date: Thu, 28 Oct 2021 11:22:59 +0100 Content-Language: en-US To: Thomas Monjalon , CC: , Andrew Rybchenko , "Ray Kinsella" , Stephen Hemminger , Long Li References: <20211028083457.3024272-1-thomas@monjalon.net> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20211028083457.3024272-1-thomas@monjalon.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB6PR07CA0073.eurprd07.prod.outlook.com (2603:10a6:6:2b::11) 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 DB6PR07CA0073.eurprd07.prod.outlook.com (2603:10a6:6:2b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.4 via Frontend Transport; Thu, 28 Oct 2021 10:23:03 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e580ca25-6485-4957-f65f-08d999fcedf0 X-MS-TrafficTypeDiagnostic: PH0PR11MB5925: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QCeAzKnevcLkQSW5MSVzgIAr2rW3QRV6+CR4rbKMHeBv9C1iklH5ZDFOK3/AFb0Y+Rz7//a8UeipPDnjD6N1vA1GruStOFBCl7QvQuk8rWYta2Ym0IhWjgDEx1kMl4HuNwcOLP/SGoTHpUpY/BLBLCoSOO5m1+/bIFgEpCBnRD5LNYfMY5fhxXD2XDH1ZrxGv1scmXpECqlR5ovytUlr+FX3x3hMC0xXwn49p8l0abPaDRO+DrXMZP9cUOq65ZCToETNzLZhC34hsVAlpSgT1xfBe4luA7NWRJIathCl8FAq+bER+eKHC+LjbefTqKUO8YYQSc2zFfHiTszqGNZEoIISEv0KljTh73hUcAuPxUqMMDfotAC4mh6QE2kSYUurWmWB4m7DQFKxfjseT4+Xtq+rzlKcvDRpxg2ur3VwxwKcvFndEInrnc6A8MWYHAe8jPV+NFVNcvW16JUEJPqrOWPbBVBcW78OaqftbkXsvjkm02ex6RGFsSe6A4GKCcqKXNQvSb+UDSZSVqUh3rf6sZihKvsqxRRdVbi72PUoQRkiUW/wZgncJg0uLhM/DrLWMNd/PchjYinYHA8X+GAmCxu2B9miNriQgjw6d+IkllnivgRR5Ma37NdG6BJQ3zjF4gE46IRXKCJfzu2bkx3Ps4ZDJS+i5T8PgrgMjjhjOlsNOUOTJOaLGeCecVs1b09Fo6tjHP4JfUWNWKyW/jPpeBdAZBn8WwcwHq83RtY/uf8Roy7/SOCTOKm1ISlhgu65TgXUtRB0w56Nu8aYYIv9VQw0fu1M+H16/aywupntjX8= 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)(66556008)(66476007)(2906002)(26005)(31686004)(53546011)(4744005)(66946007)(8676002)(54906003)(508600001)(5660300002)(36756003)(316002)(8936002)(186003)(966005)(16576012)(86362001)(6486002)(83380400001)(82960400001)(956004)(4326008)(38100700002)(31696002)(44832011)(6666004)(2616005)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?V0U4SkhSZTZJRWxJcGtzUjVJdkQyS21CaXZqY256aXR6bVBLcysyUExNQ2FP?= =?utf-8?B?b2xXSG81VXFCdEhuaHVrWHhaNmg5OUdaZTUyVTU0Wi9CVlhNT21FUS9GU3lU?= =?utf-8?B?ZDllcDQ1eGpEZ28waGNFNi9nRFNZTFhBeUh6amVYNk5SOU11L2lkdk1nZ2xS?= =?utf-8?B?c290QWdadGdDa2F4QXdxK1EwSHE0MzhvZmJ5NG9KL05TZWNyaUN0VEdQdUp6?= =?utf-8?B?NGhlMFZuYzFBWnZtRm1HOE9jWkxVdHdMRGtKY3d4bFVsR3A2NEFaT1BobVYw?= =?utf-8?B?T2ovTVc0SFpOUmMwNXR1aUFDclRPSzlveFROemNFRGp5VkFCSlNlTGM1bVEy?= =?utf-8?B?ZnB2RDZBTFoxeVFMOWswc1djQ0kyRWJnNjRYeHJlWU5WaldLZGVvbVhNeVRJ?= =?utf-8?B?ODhWQU5TUHR1a1hINXpIaDVhaXVv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999fcedf0 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2021 10:23:05.5920 (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: SiD/7ezdGYYtUq1DXUaV5uwKp7cod9mk5GyGvy+1oGN3gXaqsJVjt18mAucZ8Vf9/F5pIJyGT3eRV/altMZiFg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5925 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] ethdev: promote port ownership API as stable 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/28/2021 9:34 AM, Thomas Monjalon wrote: > The port ownership concept was introduced in ethdev in DPDK 18.02. > Not sure it is used by applications except those using failsafe or netvsc. > It can also be used by libraries or applications to sort out > how ports are controlled. > > Hiding sub-ports controlled by failsafe or netvsc look to be enough > justification to promote this API as stable. > > Signed-off-by: Thomas Monjalon There is a defect in the 'rte_eth_dev_owner_delete()', which cause a crash, it is fixed in my ethdev unit test patch: https://patches.dpdk.org/project/dpdk/patch/20210716142800.3853651-8-ferruh.yigit@intel.com/ I think we should get the fix first. And the crash not detected/reported until now makes me think API is still not used much, I wonder if we should wait a little more to mature them. Also only internal user of the API is 'drivers/net/netvsc', I wonder if PMD detect the crash?