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 DE516A0C4C; Mon, 4 Oct 2021 13:22:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CDF0E41345; Mon, 4 Oct 2021 13:22:17 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 6340241344; Mon, 4 Oct 2021 13:22:15 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10126"; a="205520457" X-IronPort-AV: E=Sophos;i="5.85,345,1624345200"; d="scan'208";a="205520457" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2021 04:22:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,345,1624345200"; d="scan'208";a="544074326" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga004.fm.intel.com with ESMTP; 04 Oct 2021 04:22:13 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 4 Oct 2021 04:22:13 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 4 Oct 2021 04:22:12 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Mon, 4 Oct 2021 04:22:12 -0700 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.48) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Mon, 4 Oct 2021 04:22:12 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BRpRUbzrdxgK1lHi5ZEvHXNEID/mELi/NB+hyO/Z+r4fVq6PoEiuTOSHbFnbhlFgPSlMxv0NtSYaJa1akIwxZyuA7Wc/64aAj3T9F7uYFI3q9lCG+IqMQbletK4/GO30wWpJG4BIgkufw+mEAAfBqK0evcvauBHsZ8+0/ssvUwXN5PAPgDowrGNr0P4rHaeBfHoiG3ANBYW50xmh+ljhjWPma4D/wxnEsJxYQP9v+dCqpW3YXASrb3Qmxi/UFYSBgxM85XSZm8Av1fK6djKDZfqe/6+H49nYZZwburbsdAsIJPL9nvHBfoDz3vw29vBg2Vu3PJbK0rFae6RLz+GKYA== 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=4/OB5AQv8YqMvAJOXMmPdMWreWy1TwtpDi/3Q80n4F0=; b=gZt0TpafHVJ1KGHj2DzNDyD8tw9t+C8QMFUSsjr6tGQ5i43sjirKLFHbDE1KURjKimWwAZm1d2Z41ofEyaWDD/lSrY0pfapaPAaBmf+jfCFV53WJh5km5X63rmROJ16TP+fceczheCFGtIcVQOQ5KeAXur+4OaPIHe1kuuJBRoFac2/24vtvUzQ5coRwIZFb5TUxzXfHZI/S2Q1Lquoco35QIpF7jobPKIjLZTVD63X+Mh9MAw0AIxtT03pmgtx8u5EG+iuYJp3BNXFy5MqnpsD+DhJPW1S7xaGpVcK0piIvUR7WvVdZ75zkGbUj5OUBdHmVvM1mLSu/JSi52wtYow== 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=4/OB5AQv8YqMvAJOXMmPdMWreWy1TwtpDi/3Q80n4F0=; b=mg0cK7vHOlpMJvVEdESoL/RqZrVREpIl19PVL0JKbWc3vWphZnpRCjaOIckljLkChfi2FBLRV/2QKeJYBbVRooTU1BhuiwNhcU62L57ZAcG+zEaB0Ktd2xHTeOBuXFBESmpXaFMR3xiWq951zUDUa3rycQnpXxxQlD/9//Rfw+k= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5031.namprd11.prod.outlook.com (2603:10b6:510:33::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.17; Mon, 4 Oct 2021 11:22:11 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc%4]) with mapi id 15.20.4566.022; Mon, 4 Oct 2021 11:22:11 +0000 To: Jie Wang , CC: , , , , References: <20210827081740.365037-1-jie1x.wang@intel.com> <20210926092055.495322-1-jie1x.wang@intel.com> <20210926092055.495322-2-jie1x.wang@intel.com> From: Ferruh Yigit X-User: ferruhy Message-ID: <1772aad6-538a-eebc-c584-00a6d4db6c77@intel.com> Date: Mon, 4 Oct 2021 12:22:04 +0100 In-Reply-To: <20210926092055.495322-2-jie1x.wang@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-ClientProxiedBy: DB6PR0601CA0021.eurprd06.prod.outlook.com (2603:10a6:4:7b::31) 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 DB6PR0601CA0021.eurprd06.prod.outlook.com (2603:10a6:4:7b::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14 via Frontend Transport; Mon, 4 Oct 2021 11:22:09 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5f9b6957-4046-495a-12db-08d987293565 X-MS-TrafficTypeDiagnostic: PH0PR11MB5031: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3968; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LIyY+er7+GlmhbpDawyH9nwhCQLVFleGTFYvXzXMjMsrkSm4bUfblAN+mkoC5trfMBN1yRyAt93iueEL8vbs3EBD4K+kS3zQ8BgwMODn/zpNaL2vJVbH7uaK/B/C0lB5qLN0qlehZ6RqBnemV9gwaI5R0AYGtNJcQxXxEHkrSliwaD2ChwtY9VLN7AakG0LPdIMP8peptEpEQCmrZcA1akz+UagpQOeve8+4nohS/kIwfmy51GpJjFNLaGN++5zPwSTkqqLlX8VL+921QCiu048kG06Q13YTJ0qKa1zOCxDg4QJna8kKgiJbF3lBW7cgIvTr1idbZb8YYJZTn/PeJA/YhIrPt9eZk+Xvz2GPO68uUwu0mmCGlAQlW72yAr1fxzE9BZUdXQoHmGH8TVIizVt5ZSFWkj+Lyq7rmYNsy5IY7Xxh0DN/fBDQJrt7X9PUZyN02eprPCK2Wzb4M/wokpnofXK/6ItjtEL9xm935Pp5tbEyKd1JLhx+geT64mgulFPMCDhCUZg1Jod9CCtAw1Qw57njuBvvHw+9YZf5MEjdvU6w05EU/nAMuEupRFNnybuIjNN36Amh6gnMjlPaUDr6lf6hN+pKOQvMoG2wpD+l3usZ4ppIidNgsETX3D8ZGfgNuHWdtI1QDpHsUAwhYdoUk21sThOKaBr4b5YZ7rlYznBF1N+nuE6LhTjlnYlqGmo39RKdtsSndHmvi00wZQ== 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:(4636009)(366004)(31686004)(8676002)(316002)(66476007)(66556008)(508600001)(36756003)(66946007)(4744005)(38100700002)(4326008)(6666004)(8936002)(44832011)(186003)(86362001)(6486002)(956004)(31696002)(53546011)(2616005)(16576012)(26005)(83380400001)(2906002)(5660300002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?akxWUi9McEs1YVM3QXFWYVVYOGxOenZib2M5c2Jmc2NYalhzWUpVWFB6NVhR?= =?utf-8?B?VzZqV3BoRjE5dFhCMnNTR05aaEcybDk3OW01QkpiT1F6c082VloyZm55NG9j?= =?utf-8?B?OElKMVgwdkNLU3c0eE9VWERrOS9GWUR4YWtDRHdreWdHM0JERUN4MVhnTktu?= =?utf-8?B?MVRoalVQRUxIQkRRajllRUJZREVubExpemZYYTY4MU9iRm9RejJpWG1VdXpO?= =?utf-8?B?ZC9qQ1NJeUZ5WHVVQ09QdDFnb2JSMUxiTkliRVVEc2QwY2VKMW16V2hkMVdF?= =?utf-8?B?QW5pMytEeUJXNUhuSk5ydGc0eFIwS01ORkRNNnVTbkZwam9LL0xjNXVGaUZh?= =?utf-8?B?R0t3eXExOEtUND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SW9aZkpuUzFZSWpJNFkyUTFGcU1PSXNyZ3o0eXczM3NBVmZJSW1xTzFDcEFQ?= =?utf-8?B?cUYzYnladDZzS0UrZDhZVGVBTWcyQTNCNzJST2JXQ25DM0ZtM2Jvdy9SUGFZ?= =?utf-8?B?V2FiOCtKbE5vK1RKK2xtZE16eVRkQWZKMUpKYlIzeG5oWlg0WDJySjZ5UkVm?= =?utf-8?B?enkwY0NjWGtVZ2MwdWZYTm9rTUNDVXVmZ1p4MXhIWWJhUG9xUXBSRlNBTU1U?= =?utf-8?B?cWtkdXlvaDMvVU1Yc01hUTJWVHhOME5XSlNHT2RWUGRjUjhYMGtRb1FLZVRC?= =?utf-8?B?cEJKV0VNbFV3MkdRVTJOeXZrVzBCZm9JcDRoYzJ6bHlETFY3S2dDR2F4YWR3?= =?utf-8?B?UWIvN25nSHBiMXJUeE0yWW1TUXFuN1FMZ1R0WHVxNG1CZjZmSnM0RDEzZDdH?= =?utf-8?B?KzloenJoWnFLRFpTUjNnSjVKRlBsdGRHeHE2ZVh1WnBtZVg5d2VsT0NjWFMy?= =?utf-8?Q?SdJXif6GVXY6LMaNhrrEvuxsnDT+qW12Hh0RrmU?= X-MS-Exchange-CrossTenant-Network-Message-Id: 5f9b6957-4046-495a-12db-08d987293565 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Oct 2021 11:22:11.0075 (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: tXaI8hZLJgZeMI/tGaK4zEw66ejX62J+Qfpv0lHLuGjLaD83JttHfbngJ64jgeoLBSP+EdV2t414kQv7DZmEbg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5031 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v9 1/3] ethdev: add an API to get device configuration info 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 9/26/2021 10:20 AM, Jie Wang wrote: > This patch adds a new API "rte_eth_dev_conf_info_get()" to help users get > device configuration info. > > Cc: stable@dpdk.org > Since this is a new API, I think we can request it to be backported. > Signed-off-by: Jie Wang <...> > @@ -247,6 +247,9 @@ EXPERIMENTAL { > rte_mtr_meter_policy_delete; > rte_mtr_meter_policy_update; > rte_mtr_meter_policy_validate; > + > + # added in 21.11 > + rte_eth_dev_conf_info_get; Not sure about the 'info' part in the API, what about 'rte_eth_dev_conf_get()'?