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 7D23EA0C4E for ; Mon, 8 Nov 2021 12:21:44 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6B9A041122; Mon, 8 Nov 2021 12:21:44 +0100 (CET) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam07on2065.outbound.protection.outlook.com [40.107.95.65]) by mails.dpdk.org (Postfix) with ESMTP id D9D2240151; Mon, 8 Nov 2021 12:21:42 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OJlE9bHcOHuH9I5UZu40SOUzw+ixFOMh7MO7/nDvCIO1GrXaLv0oAyGX7j3HhirtmUeLu7K+T0XUBKC8tJtaSFZiTsGgw5Xg9bplcn0Ecs5LoQX9aMHBwKvCq7BCyIxt1M9haa1CP9OgwOsoLMbU5myQRR/gbRTV0+om9Ju4Mj0ZhwOE0g0bMTETuNjfKrLXI0vBUsVJOTuMUbEWQNt5gF8TjkIpwPOuKGcqlkeOBfsb+P2+j6792tgRI8/k5cYhMC/y5TLc88omRnwuv4ACt6ZrKR6Z8u+7PtJHGGc1GLNDuMQA4I8SnXgPGJ2LzIytoYVl6VYdFE1OSJoURHmzCw== 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=FD3PdyxUCfBRZmZKLLUMomQONbGwSbfQgUG9WeH3kyk=; b=HBV1Eq3sHX7LhED7YFtxs2nYErT8Wf0r+yHgMNf6kszlcm+hTnXTaWIWnOierySx1hIH/4nnc5mcPrfrZQlvGmMiAnSSuSBM9H45PNSXr1gECeG/V3mdahN3ZKhU8tGqHw8+NNIcE/U/Gv8FDvIezqu0vY0lQ5d8qREW+QwKTEeUJVrHTJviIrPnr3hpiwmZ+gQnakm+u4v/+US7hNMdalD0fakxpGPtTOcdO0xT4UrW7cvKTuxWn858pIp05gjSntT4qokGABLa/1VIeEdNkv8vXB+tXTIELuI+LtiNUMeWvNOn7f2H69dOo1cwTS49zH+eoBfpNLOYeThzzcSwhQ== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FD3PdyxUCfBRZmZKLLUMomQONbGwSbfQgUG9WeH3kyk=; b=Ouc9Y20EiHj/2hu+NMlb6Y4Sw/dLEHDCl7EoDT3sdcgZaQEDO7Z4LICUQD22DCu7x6SdAQHQnDZLAS/ihBRqimUYezhmQxExr2auuxSCN2i9yedF2Pvkj4wWNi7kG9L0uGnliLk1Cq6W1ZGwZfDeMCrEXsbktW1UUyQE2ZUWA2hT1U0arCMZ6uUU6kXV3OcwlWcTNg/2LhQ5ebUSpQQAw0vD5vYZPl3Mgnl8MVgFcgis0Zai/q7yiapAJUu0DjBS6JtlX6e8uJ2bmU/Dtb8aDC1gHnbnhen0svLktHJZ5nwAePxQF/0d0rRphSfNL6jFnwBQ79cdB8Vwp/z5TcKfsw== Received: from DM4PR12MB5373.namprd12.prod.outlook.com (2603:10b6:5:39a::17) by DM4PR12MB5167.namprd12.prod.outlook.com (2603:10b6:5:396::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.13; Mon, 8 Nov 2021 11:21:41 +0000 Received: from DM4PR12MB5373.namprd12.prod.outlook.com ([fe80::10d0:8c16:3110:f8ac]) by DM4PR12MB5373.namprd12.prod.outlook.com ([fe80::10d0:8c16:3110:f8ac%5]) with mapi id 15.20.4669.016; Mon, 8 Nov 2021 11:21:41 +0000 From: "Xueming(Steven) Li" To: "koncept1@gmail.com" , "dev@dpdk.org" CC: "ben.magistro@trinitycyber.com" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3] net/i40e: fix i40evf device initialization Thread-Index: AQHXv3SBKOFzgF2PZ0S9NqdmFZX8CKv5prAA Date: Mon, 8 Nov 2021 11:21:41 +0000 Message-ID: References: <20210825194526.14987-1-koncept1@gmail.com> <20211012141752.6376-1-koncept1@gmail.com> In-Reply-To: <20211012141752.6376-1-koncept1@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.40.4 authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bda939ff-ae8a-4e93-3bd6-08d9a2a9f051 x-ms-traffictypediagnostic: DM4PR12MB5167: 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: V3R1MeHcS2/pIvtFrWQYQQWoDlJXzpMpllPU4N/2hfjfXbCWdu01YJijJ7+7f61bYHf2m8s9cZlQoabN1xemclI1EXECWfYytOFI6wBmrijfUprrV7LWYLVFyJO+zHKztllb9gOmIg9XpVWQDOjK89nz4f+CSRZ7gRCZim/FLnLlfdzEC4h8HpcHH1ahvffdXDyxfe4/1O+FU3SXBJa4ga+zP+od1VmH/NOKsYPYMZCCcjBpgZMOM4OrEgYFssTCd4FchZAxDRmUAJCuZJLRom4lsJZ5W7MQeaQA0tCTEhDB9NZQTTmyZ8j0UiQMm7sRjq5cZawfgpQ35I9GxysOOs6sKKiLrfGq9gfkev43MkhJ1htYV8ODcBsdVY/w3PoMkjbQqLYy3nCNBwJH6fRzPqHUM1ZJdtU6xcO1PO4NkXUBmxAVNJg5P5rAUNkvD2lCfvWE9zzpeZhdogK85UGHkIto9lmj+9e9MykObOpJB9UhlRE2DaRJ6gEPC0xdPSoraFICWabvaP7qfTxwS2tZCpL+781thKmDwUM8O6iiWpmAWMJX4tHK/EPfL8Sj9bfwVTBjohcv02q4kuU6S1aF7P30xhnzQbQ86qhHyV0qhyqEVY4JjYckDISw1ZKjvPn+PG3JECm66UQiN888x1PvmNUv/7qgAWn798sP+RMlTgbHjd0dciEa+HePUgwromeCx7OiWjvDqw7aby1zp0sovchJ1qNi64za958Jc12Fs4Sj0hMNzHC26XhrG4fQk+Ly8kxhmR//FD9IYxX2ro+24Hd6B3GXEM5QcEW7eJBEyTk= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5373.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(8936002)(66556008)(91956017)(64756008)(2906002)(66476007)(86362001)(6512007)(110136005)(4001150100001)(4326008)(71200400001)(508600001)(2616005)(966005)(54906003)(8676002)(6486002)(26005)(76116006)(66946007)(316002)(66446008)(186003)(122000001)(5660300002)(38070700005)(6506007)(83380400001)(38100700002)(36756003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?Rm84blE1WWZFK1pnNnNpSG00UUdROWpDN1FqWWpad2ZkckNleSs4U3JKZnAy?= =?utf-8?B?UmRqMXBMbm9BYUd0SnVtSXFIL0pQZEZJbGQ1ZWp5VTVLT2s1WnhqRDJMcXB5?= =?utf-8?B?VFlOOURxVjBXdHlLdjA3K3hQU05VUy9YNzlTcXptcDlFMlE2Z2cySGxMa1ZO?= =?utf-8?B?TGJTdkhPOGV5SGNwRDZZVUN3eFB3aDE3bE1mYnB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5vWlJFMTlId0NFdFlxNVF5WERxbkJTL21ZZVJma0FmWUZqL1JiZTJq?= =?utf-8?B?M0tuZkFlSTBZNkFMelp4OFMrRk5GdDdtRXNPQnZDT3ViQmdKWUh1OGs0cFEx?= =?utf-8?B?VEFoNHZWbWloMHRrWVFiSSsrR2FOeDF2WGpMTXdSWVFvQ0pTakxDc3g4N3dO?= =?utf-8?Q?Ym9HcCjnDKSYLnjEAfA5NaiXGo5l/eTevpn43F9Ij2k1?= Content-Type: text/plain; charset="utf-8" Content-ID: <81EB89AEE4DB864483EDE2379CFF209B@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5373.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bda939ff-ae8a-4e93-3bd6-08d9a2a9f051 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Nov 2021 11:21:41.4226 (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: X4XGzjguHmzuRz36ddYkDKbW0BUMlp71uFbmyEbBMup08BhBWxqlXDaOgRG+NK4l0YLSe40db0K1DI8D+r3tgw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5167 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v3] net/i40e: fix i40evf device initialization X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" T24gVHVlLCAyMDIxLTEwLTEyIGF0IDE0OjE3ICswMDAwLCBCZW4gTWFnaXN0cm8gd3JvdGU6DQo+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