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 1BEF8A00C5; Mon, 24 Oct 2022 07:04:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0F7D641611; Mon, 24 Oct 2022 07:04:44 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id E63B04114A for ; Mon, 24 Oct 2022 07:04:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666587879; x=1698123879; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=77kaMBWWpxBjjTjbxzxPZErkqqUi5WzGlr1NO1HVA7w=; b=J9RFOfvS57z83HrGE2GhbQ7Ebn6QLXpgkF+LwUzxig6c9NeFUbzW8u0O F2akLtt/sVxDZzbCZ1Z+1kUI3dRI/tg+m4CKqXjAdcxto1HEooCtQTmPW 6u4z3TVWLRmBOHyg0xofLysDfQ5MZDS9UG7u0FkZRnPJ4Gf5FfUzUSiAs azw4lhjf5Yh6u3f9Kz2DSL6HIBZQCKfCAzQ0Go8E4oV3+o8IPv0pnO5uJ TXsvnEDNRP62DCFfQQVwh49lDvkLA+4TKliESmHsYelTKuFFs0dsH0qET 2Z5QiUTEmxJSrq4dBrx7jGo6DT2RQqybzqmCTUzA3DQGLAYl5miS9DWRk A==; X-IronPort-AV: E=McAfee;i="6500,9779,10509"; a="306070047" X-IronPort-AV: E=Sophos;i="5.95,207,1661842800"; d="scan'208";a="306070047" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2022 22:04:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10509"; a="631143747" X-IronPort-AV: E=Sophos;i="5.95,207,1661842800"; d="scan'208";a="631143747" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga002.jf.intel.com with ESMTP; 23 Oct 2022 22:04:38 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sun, 23 Oct 2022 22:04:37 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sun, 23 Oct 2022 22:04:37 -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.2375.31 via Frontend Transport; Sun, 23 Oct 2022 22:04:37 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.176) 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.2375.31; Sun, 23 Oct 2022 22:04:37 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=izg1f8wCP0FyBko69qxoOiHZRx2OCgVCi+dbpIoPIBXBeKTC1FAb98Sc0PC/WW5+uDuhMCizWWCzahczuKs6krjZ6Lge90dmnv9xYRgAXmt0LawH1p+Cs/Upz+g+/+y17iCB9YUOW3TipyePBomTFIZHwwZA4BgT6iB7RwxBz25cDt5AFHK32SjcvS/9ONuDQnxAbZvVIZDs3CIvO0FPfSy/IuGde6C9IVOkPW7Q/P82KHiEwFge2/lVg0h5eAr9WIF0Q2SovWLcBAPh0ReuFTu6ZIie0Bqql1MsDdxKe/3H6I/stQjG0AobSZ3WYJGY2ory9iTeExxuJneXtU57ug== 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=77kaMBWWpxBjjTjbxzxPZErkqqUi5WzGlr1NO1HVA7w=; b=gUQbBXx/mZIO8HbMstddsrMftoWXSoE+YXvLRAh2U32jZPm/9ewBwQxHU9YxG9ebggLQYnVr6e8lXTDH1rWk8sg16/FSqH1A6KHGQeXsAHdRCMI7v48tepe24zoSghuU1wL/JCCUZs5nXqjo/UQL4ws/GXEfZMLGTDk6ebfLaVXbuhKl9ZRbg8nlcRMrg+eLVal7UgcNrzZBOgxQpyQdf2fxfU+4zP8uAAmT0Wmi21y8jFqERxdOcGxUya9SHgbs2UxBq3jqqqUPv4KJtFUbLQ8SUpn/MX/wrx+f7iafvIcoc2Y5Ct2BRzSY/w6O4nUJOCxNWwcCfXY1+sGetqygHA== 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 Received: from DM6PR11MB3723.namprd11.prod.outlook.com (2603:10b6:5:13f::25) by DM4PR11MB5246.namprd11.prod.outlook.com (2603:10b6:5:389::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.23; Mon, 24 Oct 2022 05:04:36 +0000 Received: from DM6PR11MB3723.namprd11.prod.outlook.com ([fe80::126d:f905:c1d6:dcb9]) by DM6PR11MB3723.namprd11.prod.outlook.com ([fe80::126d:f905:c1d6:dcb9%5]) with mapi id 15.20.5723.033; Mon, 24 Oct 2022 05:04:35 +0000 From: "Guo, Junfeng" To: Ferruh Yigit , "Zhang, Qi Z" , "Wu, Jingjing" , "Xing, Beilei" CC: "dev@dpdk.org" , "Li, Xiaoyun" , "awogbemila@google.com" , "Richardson, Bruce" , "hemant.agrawal@nxp.com" , "stephen@networkplumber.org" , "Xia, Chenbo" , "Zhang, Helin" , "Wang, Haiyue" Subject: RE: [PATCH v7 3/8] net/gve: add support for device initialization Thread-Topic: [PATCH v7 3/8] net/gve: add support for device initialization Thread-Index: AQHY5S58m4FlvfEV2ka8V4yEQzB5sq4YmpeAgARiaRA= Date: Mon, 24 Oct 2022 05:04:35 +0000 Message-ID: References: <20221020103656.1068036-1-junfeng.guo@intel.com> <20221021091928.2674471-1-junfeng.guo@intel.com> <20221021091928.2674471-4-junfeng.guo@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.500.17 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM6PR11MB3723:EE_|DM4PR11MB5246:EE_ x-ms-office365-filtering-correlation-id: 4d5614d1-8366-4b57-1d41-08dab57d3efe x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PFIGCvC+8U6bMVAtS5fmH3Pd5NG2pkCYrnQcBznQq/Tro/J8Y+dhfxgUfiNTeheMKXy1f+ETyzH3Mn+X2pm6JDsCyI6oalCXDsxf2ZWi2SzkJq25Wpq1Gmm4zq6N4ntkeTHA27SqIaemWiopR+mseX5dSgL6xUKDyxeqScxULxDydO3ft05MGURK6yVkA3rbbbvN0RpEU1HNUBNMnGysdKJDTUZZ1myk4sDqYwlSsCODrZ1e1yjQRfEHl94+eLVdffgyKtEjSRrRjUDA8nf7US6hpRjOtlg531h3PsNcKGcDm6/f61lRfiKdDHC5eogdXyj2K5WmGWvIImZQOVJ7reGpwG4NG5hyS+EjqSyjz05BYa4HX3AnGy+n+tBvFykuv/pPtBjHsGMC1ulyatQH7lM2X5Bch0sBjg3YBprpsaRcpdNpLmvQqotILYGB5axA0TakEtJzx4qY0cVUib3ToNqoYx+4pERjUDFl8iqctNh+tpYtTUt+Y8RQu4i6XtvGD2JOe+0c73EA4wZLygLQ5RzKuzUZ9+yZOb/c/bfWac3raWrf3i5FMGS9SKRVS6jbFBiX9APZyIf2+Ri50anAkuTLsjSfNnhf0PMaPKGEAbMy5KEX7jCIi735AqYrOE+9wqvwq8uQlp8lE90K2DLPHzfGCDVGGfO0T8LEqIlcaJxQiL8mN4M4un/d3WntySbuXKy7tifOeephUjaPHBz3+whpJibzOWz25LfUObRXGQmDQv21ZaF7/umJ65iGZf5sjftjvG3R3Ykm0adUULtpZw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3723.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(39860400002)(136003)(366004)(376002)(346002)(396003)(451199015)(66446008)(53546011)(82960400001)(38070700005)(64756008)(86362001)(4326008)(5660300002)(8676002)(186003)(122000001)(9686003)(83380400001)(478600001)(71200400001)(26005)(38100700002)(7696005)(66476007)(55016003)(6636002)(2906002)(52536014)(316002)(6506007)(33656002)(41300700001)(8936002)(66556008)(107886003)(76116006)(110136005)(54906003)(66946007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?YXIrdzJNRDNJZEhZTWtpZmZpU1ppLzAxS0lCdndmYkJxMXR0TGNOUnFPaTY1?= =?utf-8?B?RDh5UlJDOWFJVTRsQXBaWG1JQnk1dzljMTF4MWJUdFN1eWNWQUxVYkliRTE3?= =?utf-8?B?Y0NUZk43akNHcVJFanBxbnFlRFZmUTVmMDd6L3kySjJiejFtR21PSytMZXRr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NIN0xIZ2tqUWpvY29UNkdR?= =?utf-8?B?SDdiclo3STRVWm14UFd3TTV3c1Rjd21xNWtsOThXSk9YWmxIL2xaMjF6NTVI?= =?utf-8?B?eHBwQ3VnOEM5c1pmdlRvUFhTcTVCQ2F0VkptNjZOSEZkQTAweVlHRmowdGNq?= =?utf-8?Q?NhoptlXuS0ZxCmlAMN7WED81h?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB3723.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4d5614d1-8366-4b57-1d41-08dab57d3efe X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Oct 2022 05:04:35.8102 (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: 3c0SmMxg1hl7paEMT14zap+yEiaK0pav5C/8GNuxc5IiTKdwBabQUaA3jhMp3BMUEmEH64n28xO40oB25nuJ2A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB5246 X-OriginatorOrg: intel.com 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 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRmVycnVoIFlpZ2l0IDxm ZXJydWgueWlnaXRAYW1kLmNvbT4NCj4gU2VudDogRnJpZGF5LCBPY3RvYmVyIDIxLCAyMDIyIDE3 OjUwDQo+IFRvOiBHdW8sIEp1bmZlbmcgPGp1bmZlbmcuZ3VvQGludGVsLmNvbT47IFpoYW5nLCBR aSBaDQo+IDxx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