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 4DBFDA034C; Mon, 17 Jan 2022 11:30:45 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 38CA7411B8; Mon, 17 Jan 2022 11:30:45 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2059.outbound.protection.outlook.com [40.107.243.59]) by mails.dpdk.org (Postfix) with ESMTP id 8AAB94067B; Mon, 17 Jan 2022 11:30:43 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YC2VuO2/n3+fDFleWYNWoUhG2lZo+mb3bTFfTZm5pilqlmDBov2eqfkgKZY3OpG/W483X/FSwDavzzA9kp8q9KUHzNzmF/R7demETaGZcGV2+8PeDlrBEzFuHolutxOeqJJMfyb/jNkmU3eyCMimjV2xeUEhEf9GZZ+lReo2GwjIhNxXMlOuuwQ3HYkLgZ12XyKlqih/YbOmxCf2qKY/cVTshMtO1bth/UiU+YZTuCh3GMJLpjas1Yx3MKBw1aeckewGs57qfect+uU20CYzMrovkD73OZOj0immA4RAdhnVy848kv5OXKIepff8l7sI4ZUCQgSOxSGcohUoDfzpvQ== 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=yFlTjNTbUoy89Pr8AaR5tChl9MHJSWLYfUvjL0jExps=; b=OWErhoQ6RGupphex/EFkPJOfTacwi8uGkAYTYAMR073QgXbW16imaBdjDfJO6CAaZHj+a33T2xSDNAWkmU74fnbAgRdqe+NSQ9H4Y8zWNry+GIWGLQl8F1rQoEk/28EM5jsZ9OYApOej+qwHi/xRzrgaOpTlb8bKtz2kAmJ3giIr/bjYLBudcRz7OrkwusarBdgN9lKEii3P/gXRDZ4SpgfKoCSAcPdEOAkNqLZU6Wc6VFIekxSaA+ZobvIFlHur0oHP2V42vNNjVKf3mxwIlgOl64DCH30p53fHvXu5Eh6/sVH6n7xjAJwRfX3WTslvSE4Hb7qxhNVBY7RGG6NVWw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yFlTjNTbUoy89Pr8AaR5tChl9MHJSWLYfUvjL0jExps=; b=IrJZo4eV3yNKy1PpE3tnLP68MA8uw60NR+wEMlyfOxGPsHvHyJr0qMD0isapKD9qlz9tX0gRooYFC2ThEKYQwNTI5WAWBvIzGoCWu5yjKLnWdbvAIPkU5NIgty2kBDUmh6c30maG7E1Hk2oqLlJt+bN/JA7+2eUOCtsXOjgTeX0= Received: from DM4PR12MB5055.namprd12.prod.outlook.com (2603:10b6:5:38a::5) by DM5PR1201MB2520.namprd12.prod.outlook.com (2603:10b6:3:e9::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4888.12; Mon, 17 Jan 2022 10:30:41 +0000 Received: from DM4PR12MB5055.namprd12.prod.outlook.com ([fe80::48fc:e36b:cc35:a3e0]) by DM4PR12MB5055.namprd12.prod.outlook.com ([fe80::48fc:e36b:cc35:a3e0%5]) with mapi id 15.20.4888.014; Mon, 17 Jan 2022 10:30:41 +0000 From: "Sebastian, Selwin" To: Ferruh Yigit , "Namburu, Chandu-babu" , "dev@dpdk.org" , "david.marchand@redhat.com" CC: "Arsalan_Awan@mentor.com" , "stable@dpdk.org" Subject: RE: [PATCH v2] net/axgbe: use PCI root complex device to distinguish AMD hardware Thread-Topic: [PATCH v2] net/axgbe: use PCI root complex device to distinguish AMD hardware Thread-Index: AQHX55c3uqHVHcc7dkC60l1luVPVyaw+XR4AgB2s/wCACu/EcIAATyyAgAAB4TA= Date: Mon, 17 Jan 2022 10:30:41 +0000 Message-ID: References: <20211126102403.13223-1-chandu@amd.com> <20211202161034.519226-1-chandu@amd.com> <47b71ae3-0729-d7aa-0394-908700ec0b34@intel.com> In-Reply-To: <47b71ae3-0729-d7aa-0394-908700ec0b34@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_88914ebd-7e6c-4e12-a031-a9906be2db14_ActionId=5aff0599-51ac-46b2-88b9-ebf0e42ddd02; MSIP_Label_88914ebd-7e6c-4e12-a031-a9906be2db14_ContentBits=0; MSIP_Label_88914ebd-7e6c-4e12-a031-a9906be2db14_Enabled=true; MSIP_Label_88914ebd-7e6c-4e12-a031-a9906be2db14_Method=Standard; MSIP_Label_88914ebd-7e6c-4e12-a031-a9906be2db14_Name=AMD Official Use Only-AIP 2.0; MSIP_Label_88914ebd-7e6c-4e12-a031-a9906be2db14_SetDate=2022-01-17T10:29:06Z; MSIP_Label_88914ebd-7e6c-4e12-a031-a9906be2db14_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 00a50d7a-fe36-4ac4-bedc-08d9d9a46985 x-ms-traffictypediagnostic: DM5PR1201MB2520:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2958; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DIl6gmCdATc0B4MK5CBESDvrlYFyDrzrpO5zYhWCWVso3dtbLwxJs5kwjpospA6Xj8GDHowokJPMebgsRYwyIooYY6RXl3gXZo4+bPxnjzhuNE26Dr9pTDm+Txa8bR4Td3v+op+NLGjKs/3bZQFniVLsjcsudhHLem/D8l6ymoU2kwi749KCjVyz8v7T75EzuKq9lcf1iCVLMaHGGEYRTx+WWYZmiED/mO+Yjn0PIGgvGjqqoyoqDjkkG3UtZnnWin7xXtGcx1x+tzR7RgQ9nzpbaStHbx53EJ54uFbTGr/n3VkZvZ9dPw9clOjYZcao3N22RIhztoyJdHUwNm7CBcS9eGof4jwPB7jKkFM/3Wg0PjRJHkSiHTTy7A6d8wBbe3fuN1n2SBxC7MCormueu74C0RqSvFsOvLUo9WhO6UjDpG+UwdOIUH8u2zt2C6VrnVQHvYHRL9JuYQ+HcGe6ZZtiWdkWXRWh9pbX3B5xWdS52colVD3rNlHS4FWMMtJ3nyPp9PfjTgMuQSt33lFd0XCwAy7mJ4qg8cd9VbmPqLntDeZgcZXqBpB3i6OTo4VH2QEsFnNAnatWmO2ZLJDFtrzN2FkXAHL9YS4jf6kNrvuCbIOJ1bDNDlikMI9/MgmwgqCg+zd1CN2/E6PytMpeE0FRHCq4FqehUWRGfmbHcZkQV2mK2bqb6gBNMjxSvbL6TCiX0ebqcb6zNre9Xlyz6g== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5055.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(6506007)(54906003)(64756008)(55016003)(66446008)(83380400001)(71200400001)(8676002)(2906002)(186003)(316002)(38070700005)(38100700002)(52536014)(4326008)(8936002)(7696005)(508600001)(5660300002)(9686003)(26005)(66946007)(86362001)(66556008)(66476007)(122000001)(110136005)(53546011)(76116006)(33656002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?QVlITkVNSEtrdWUvRW5GNnUrdjNLUjhwZU92REd5K3Nld05TMkFn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VjhFWkgvVlBQNzYrSEkzdVN2ck95N2xuY0NzMkQ5RldSc2tH?= =?utf-8?B?NSt4bENMUGMxZ2poc0JXVXhCVXpXWkxabjNFaHB5NHVsc2ZIZDl4MmtoY1A2?= =?utf-8?B?OFNJNG5RRHhRcGJvQ1RuZ2FjMDBQS2xpdEpkMW9JSnFtTXR4bGR1TWk4NFBq?= =?utf-8?B?NGw0OUFJK2VXb1gzS3daMExWVzRXczVIUjRJSHo3c2Z3WWUrT2FhNHpIcGd2?= =?utf-8?B?RWpqMmZLOW9TcWdMSUprcTNPazAydFdaWFhQZUtpczlNb0NyWGZYV1NBY1RW?= =?utf-8?B?dSsybnpTZEpaSWV1RjJOSVAyQ3d1UTJGNWErOTJjOG5Ca2xyOHZiRFRub1lS?= =?utf-8?Q?B1QGQ774EwxaImii2A017gI=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5055.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 00a50d7a-fe36-4ac4-bedc-08d9d9a46985 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jan 2022 10:30:41.6935 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: NJuh7bpETvMC3A42lVJJ419rA9ZRMFPzMouwEOlVm8ix19hw3+nWuAzWbX0NhcGtqATRQedO4uQAGiUeKPolHg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB2520 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@dp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