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 94CDCA0566; Mon, 8 Mar 2021 16:31:07 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1E95E22A3C0; Mon, 8 Mar 2021 16:31:07 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2073.outbound.protection.outlook.com [40.107.94.73]) by mails.dpdk.org (Postfix) with ESMTP id 07D9522A3B8 for ; Mon, 8 Mar 2021 16:31:06 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UthCCm9MRo4hYfwkLDOKZHyLkJRySpemp1uzG+vFDwEFkBLDFxYPOgY1wDYjlS/kXfUYl1DOZpMKjDItRu+VsfDROb4mB0N8lWjZFKbSFFKHoXp5GWSNbh4B1zRgHWHEOes2U4dSmUpwxfZreBAa9ag8epR0PCkxXgZhK+KV/uCQfD8YWDReDQ+tM6gotADjqZh3REpjkK+EASPptSX3iPfAlC6ikCiyJ+souCn9tktEu8gkjv+Z3cHALU+AvCVs4JRRE5Q4RblFwHM4FoubdfacN21Ks04/nBGqpXcvbCFMVoJOR7xsScv2s1rOK97cekkC/LWR0YC6DMGnMyCk3g== 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=odzCejt1DaZ8NOmS7GBv8+0Rq6i0Rwo0akVfOlVJ/yE=; b=ZbXJYB7p2tbrK5ABVx/AObHNu5MeW93k2eryX9m2ZGfifd3MBnqleR1K0FqGDIps6u8I34ZYCVqAi9bnfNgm32pdmQAoGemnkOcZkkD/WUhwKY9mpDTwgQtVaXPBgPU7MbDwGzD44238p0m9YC6t4qJ7g2y+N1SHa7v/jm1Aj1kCzOruFYUl91iGNAvARUOurNpgdDUYPg4WGH5kEBQm3z7h0gvUDGo3XRzxuYk1JOoNDBag0qkTvZyVSQ7Lp7Fs2JFyVM8IwHVafCle3els/veL1p/5vmGkIKtSg/HYDcIpMZlWkqMw6NhC7DL6LHqrZPNGWKin732s1O4e+VSY1A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=odzCejt1DaZ8NOmS7GBv8+0Rq6i0Rwo0akVfOlVJ/yE=; b=TePeEpIPv0b7XPgUEDTEa8HM7wFFby1QC0q0ADhU3Pvpz+BSHRtk/Nk3cB5Y3oJF5dY3neKm7JP+q/7lTv6BgDANopOW0YbgH92CaGMfw1x0Z4iLEdNJTJNjvLYS4nJFMVGbsCQd0P9iACbdxpORHuZG460Hy0ya8QKBof1PpcI= Received: from BY5PR12MB4324.namprd12.prod.outlook.com (2603:10b6:a03:209::10) by BYAPR12MB3224.namprd12.prod.outlook.com (2603:10b6:a03:137::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.20; Mon, 8 Mar 2021 15:31:02 +0000 Received: from BY5PR12MB4324.namprd12.prod.outlook.com ([fe80::1cfe:3836:bc2:f665]) by BY5PR12MB4324.namprd12.prod.outlook.com ([fe80::1cfe:3836:bc2:f665%4]) with mapi id 15.20.3912.027; Mon, 8 Mar 2021 15:31:02 +0000 From: "Xueming(Steven) Li" To: Ferruh Yigit , Andrew Rybchenko CC: "dev@dpdk.org" , Slava Ovsiienko , Asaf Penso , NBU-Contact-Thomas Monjalon , Ray Kinsella , Neil Horman Thread-Topic: [PATCH v8 7/9] ethdev: new API to get representor info Thread-Index: AQHXEQMYv+VDRRdt706uayh2nGjo56p6MNmAgAAMiOA= Date: Mon, 8 Mar 2021 15:31:02 +0000 Message-ID: References: <1608303356-13089-2-git-send-email-xuemingl@nvidia.com> <1614868228-13685-8-git-send-email-xuemingl@nvidia.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [180.162.52.210] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b1957229-790a-4561-0d8c-08d8e2472ead x-ms-traffictypediagnostic: BYAPR12MB3224: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 2EZVMirml60CKe5SPpQWr+jPheStE8llgGmjio1piGSY1/zlvGNXdcFmFfMDClnbAJVjm3Dxlyq0psJjHvZUcRv1O8WOqkoZ9SpUD82wNe+7Ar0kMRLvX1qkCpDzylzxhJMBEI1e6vDLCGcPi/tbe2Q+aOgDDJjtO3UrVABZE3BXYdJNWGBsYySBxsf+iS95ps/QH0nMb6oL+vrCI2+7eI1bVyCcgvTeIdrOLSL6c9QDBNw2zRD/z90+2gpu8kBD6dbTbYWuBpGbiDTBK7TqZefop1H9irvz5+ezFCQMeXVxC59YKJPajOrbrni0PZHJr1WA+AgIYa9VsOW2AjEwFm9rC+Kt+51KoPKNktfZz0DADiS8eNqUhx8eaq/xYqCbhKbqfxWz/8pgLfH2nOvMrg1cNQTnWy0jfrKg7uVDXt8tjHB+EN1o3Uf8shCZ8ri8b4RjMhpPIb6GOQh9O7jKPmnORYD2rahQ+sRtB7EFvvIXfZ0mGG8xK7cYRzuk7xsbECcLrdR3PfQe6STNVwDo/w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR12MB4324.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(136003)(396003)(346002)(39860400002)(376002)(2906002)(52536014)(6506007)(83380400001)(33656002)(7696005)(478600001)(71200400001)(5660300002)(4326008)(66946007)(66556008)(76116006)(110136005)(66476007)(64756008)(66446008)(8936002)(26005)(55016002)(86362001)(8676002)(54906003)(316002)(9686003)(186003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?ZDVFaEtxc2pya2RRelpPaUg3RVN6N3VxbU4wMkI1djF3YkR5azZGWWQ2SzF5?= =?utf-8?B?UUpKU2tld1E3NnZGZ2hUNXZVeXBxSDNrWmEzSk95NFBvK1ZxQmtmWnIwblZl?= =?utf-8?B?RHVYZjIrY09mSVJoRWNnVWJtOFdLYVk2aGg0K2I3MTVVcC9aUzhkeWVIVEU5?= =?utf-8?B?TjRZMzhCbU1VUXVURnNlR1NJNXh3RVdWc2Rsb3ZMdnE1UFlpdE82OVRiOEZl?= =?utf-8?B?d2JsUkJjRUxuVi9YTDdyVkVZeFB1YmJWN3NSMERVWS9GUWd3OW5HT29XRGRr?= =?utf-8?B?bHB0ZjBhOFdJaVh6NW95YVlpOFNNZzBuMmhLM2NLU2V2ZFpMdExpVldXaXM3?= =?utf-8?B?ekNEd0RPb2dZa2Z6RGtwWXRrU3ZISkJXYWJ5cjRuS1pYdlN5Y0RPMjRlWW9G?= =?utf-8?B?V010MlZZREIvNmpLelMxQTBOSzFUeXFUWEJRRHVQWmZWYjkvZXp4SzBaVDFH?= =?utf-8?B?dForZ1FVZmFJckk2NW9Nd1hOSHA4UmJtZG1MNUxDbUFvaW5uUS9TUk9SZ0Fx?= =?utf-8?B?NHMvTElTYVhaQUxWTjB3REUrczFUZ0JYUXpCNXNGcEw5cnFqelNZL2FJR1Bx?= =?utf-8?B?SzJoYTdvOFBmZCszZGdDNW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haclh6V3ZxcC9vRGRsQUtIRHBYSHd2WWc1K0c5TVNqRE9XUjJYMlkv?= =?utf-8?B?cWs0QUo0MG53dGROSWx5S283Y1JBODBmazRqS3BaTzdPalJPU3lIWHNTZDRJ?= =?utf-8?B?bVZ2RFhLeUtMSzYxaVFPbG9PTGR4RCtMNkt4ME1idDdYSFFvbUVsTnlJLzVr?= =?utf-8?B?SERVVTVrbmF5aEMvOG5IRjNjOFdXK2pGejBsNlNnUWx6NXZVbDhQOUxtRDRr?= =?utf-8?Q?gCN3O5JluV2XyJT7VLDmswMN0jAsHhFULK1Z9Eb?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4324.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b1957229-790a-4561-0d8c-08d8e2472ead X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Mar 2021 15:31:02.5687 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 0lnvVDJz6h/JQqWplnc/yTSaIZuHlEhe+qg5t2qHIpQTSpPrxat6WSOS5D9kcgFwkea0M2m32OpEs0PZkL/ARg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB3224 Subject: Re: [dpdk-dev] [PATCH v8 7/9] ethdev: new API to get representor 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" DQo+LS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj5Gcm9tOiBGZXJydWggWWlnaXQgP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