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 02B82A0567; Tue, 9 Mar 2021 05:14:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B69424069D; Tue, 9 Mar 2021 05:14:00 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2074.outbound.protection.outlook.com [40.107.93.74]) by mails.dpdk.org (Postfix) with ESMTP id 906534068A for ; Tue, 9 Mar 2021 05:13:59 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jEr+Kre+82brJe6e5gCPTwCzqIBA1Cp/Kin6LHxeyrMRkZHKF6mWTmxGAt/XU2UZzyDoTdz/1R/Vm7RFqIkLAbLPjBcN7Gd6wadxHeZI59Ghskk5GFhBaF2m8s2X+tpYXtRBsdZ/7e4zgMpoS7nQLwj88fVD8T0S0XALeNEvTsDyXCnU6pOOsppQDpxuQbQZalSYNp9+w3ln33GYr8hpZ18rPwW1zrNjjg4wBciDmaaW2urxoy/TCJSLa56dq0697eOVYRCxJPhYKlznh/oxa7Lav7Gvj2/7tJaVXiZvTIhqpGkQx6uwYZYguPpi482ur3hzutruDTTWrTXNUpITyA== 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=uo9k8LKMcuxPbupaPdNVNtrTX8mz1NOBEvMCucKoHek=; b=B/aaByMFUQVnTeYH8IMcIYV95AIPW0iHV1sifMuRpclbVlkbnHNwcnlj2/mNaAgrOE+Fy++ettwuE4WfEIfU6aiPBWWSxd3V5w4BTR+tpdAxPDXMPD67CBHU3TBsgUx9TcuE+xkbvRZTrDf4npNvMutLQYJqL47ClgRLqPnD6TzMfB2b4GNQcvHdfTwjXbzoYshvhk4nwiPMlwIWhKd8uAHkabfz4W9cIhHtJaE7I+Uejg6I1fhIccUeeXvfUzB22jyXv3gOM9SO9f+Ti2b9aSmmeo1AfMYO1yBpdA4qEmXMzONfN2tNAjfrfb0V+Hk6bKmnUKcViY2BIvPpRhhZdA== 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=uo9k8LKMcuxPbupaPdNVNtrTX8mz1NOBEvMCucKoHek=; b=HoGHdORcZe/RwopTWgEZkYrQ18hOx3J85BXHZBVoOB4GTG+OTHNMnmEaE3odUV8VmnU16CTppNxBjStsr/cgKZagGeZon9kcQ8aTYoh5xTFLkFY2nGT18SJWcLi7/m9h6S29ZEm1s+OpAYfFZoNntPDdCIkffHaQU+zAUXIrkC0= Received: from BY5PR12MB4324.namprd12.prod.outlook.com (2603:10b6:a03:209::10) by BYAPR12MB4759.namprd12.prod.outlook.com (2603:10b6:a03:9d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17; Tue, 9 Mar 2021 04:13:58 +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; Tue, 9 Mar 2021 04:13:58 +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+VDRRdt706uayh2nGjo56p6MNmAgAAMiOCAAAwmgIAAwyCQ Date: Tue, 9 Mar 2021 04:13:58 +0000 Message-ID: References: <1608303356-13089-2-git-send-email-xuemingl@nvidia.com> <1614868228-13685-8-git-send-email-xuemingl@nvidia.com> <5c0d7b37-3ec6-0c0a-ff43-03b1f4bf6268@intel.com> In-Reply-To: <5c0d7b37-3ec6-0c0a-ff43-03b1f4bf6268@intel.com> 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: bafd0355-64d8-46bd-d8b3-08d8e2b1c312 x-ms-traffictypediagnostic: BYAPR12MB4759: 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:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Xd2GM6HUQAbFsomBD6bb6xaLPvthDHRNb/D8ugy28JL2KI5ioghicMFb3uwrk+2xdLVxY1T+9h4fcF3ap8ZFLqQZpmhyPW1TpsvQYf6VllBU74OzPXEHCO+bDgGMS/wGj9sqMXt9g5i9YkD3axfvb/536hcVQj08PONN5GS5BW4rxWkaF1fcT21iJtb/LhEPj0v+7ObbdBefsrwF13HK8YyZ1trTASL/EfZS5jOb/pAmrc5nn8aTx2bC8iS32k7B3CcJb+Gq4oeSjSeOwq/5rfS0fGJCSyAtSu8vSf0fa+b40YoJ2Mb4mcveskbb4EmZcUWxLeJVmbB1KsnFmnYEuy+N9yU8fnAVKS434Z9N0lcv/saq58uSs37VJdVRu6uMjpzErUjOlNdqtMPgpBPDB6dYdWf6+2/srQ2xIGLDHe045Hm6YTiCoUycpKZb1zpP0sWtI9fRCjEnOGaKEeDVJR3lJM05Fau6ubjKGyulySLlDGSNsDU0+gYncR7sGSI+IbSjQRJE6nCvLM1i8PTpSQ== 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)(39860400002)(136003)(366004)(346002)(396003)(376002)(86362001)(83380400001)(53546011)(66946007)(6506007)(76116006)(478600001)(5660300002)(54906003)(110136005)(4326008)(55016002)(52536014)(186003)(33656002)(7696005)(2906002)(26005)(66446008)(8676002)(66556008)(66476007)(9686003)(64756008)(8936002)(316002)(71200400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?U3Fxa1ZCOVFSNmFsNXVWM2ZPNmJ3WmxwVVZxR3ZJakFzaWVqU25ibm8xNVZZ?= =?utf-8?B?dWIrZ3F0WEZqUFhMcm5lM3AxL3g2TzJHaXhHZmxTalV4T2kyREhOMUNRSXdk?= =?utf-8?B?NDRqUHEwZ1BYN01aZ01VY29Qb0IxM1ZYNUxiYzdCMFEvSDlJVWlxTUlxeHk0?= =?utf-8?B?ZmhQMlhKd25uVDNmejNYTEFiNmFzTUY2dS84dTE4U0s0L1lLLzJzSDhPMU1y?= =?utf-8?B?ZGdrYlR0ZFVXSUV3RndkMWJBN1JDY1RQRDJhWjVDZEVtUVJvb3pWSWRzd2gr?= =?utf-8?B?TXFoVnJzaFhHS2RZOUpZeUIzSjNnYTlsRnBtWjEydWhkWHZwb21TWVFibmJB?= =?utf-8?B?T2FLNjN4UHRSVzFrUXRlOTJvb1RJeW5LMUxnaXhSbDdvTzMyN0w5Zjd3M0xo?= =?utf-8?B?Z2U0L2h1OURzbzRCS0Nld0R3N0NYRGZyQkJLNkdYa2JWMTFkYlZuRlNvRldq?= =?utf-8?B?UFcyaklVRElhaUdvRG9rZTRLRGk5c2F2TFhqUkFRNjlnQkV0aGszWEZXSUhW?= =?utf-8?B?MGhRem52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utf-8?B?OUtkd2J4eHltRFk2V3hwUEN6QjFmakppMW1acFlBVXJ3akhXMkNyL1UvRTgy?= =?utf-8?B?bGtHRklHR1dwZkRWNE9xN2hQTGxPVEhiZFMzajJGd1pDMWhldm9NL09GQjg4?= =?utf-8?B?ZHY2MjdHQzd3clRvU3dFVk9mOUQzTkc0K3BBUkhJT1h6STRLSEMzTXpJUjFJ?= =?utf-8?B?WmtwYWd1SUY1VDR3NFJEcUpwemZlczhGblRmMDNQdVZUMVJaREZlTENWZnNS?= =?utf-8?B?d3JHTTZXVHVLMnJPVnRzbnNNcElvbzQ0NGs1Q2NDT3FnMy96c0NxWHVtMEpa?= =?utf-8?Q?sFdc1zvyf5dPhs71rST7HLYElM6gXlvSvIj7U3j?= 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: bafd0355-64d8-46bd-d8b3-08d8e2b1c312 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Mar 2021 04:13:58.2139 (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: WgEaAjCSe6Tee3AGzXItTvrcxeiH2AisTCNRy2hQWM27rbACIRpmJ8sbhsQ/FP02DtvgkxnFYZ4Uzscvau65nQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB4759 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@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