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 C81CCA034C; Mon, 24 Oct 2022 15:26:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BBA5E42B9B; Mon, 24 Oct 2022 15:26:13 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 74D7A42BA3 for ; Mon, 24 Oct 2022 15:26:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666617971; x=1698153971; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=EuCOcm0AMWlyLZxhRkbUgcGUoTzbosb450KLbz3kRcQ=; b=L7+mb4D4gCX3RaWNtGi5SpMQy6kl4FYbuBlqxlt7AX1OFYoXi9vxsDu8 lHLuyPmgQnN+GqpOT9m1MmvYcZYUzg38Jc/pJ5dRnrpWd4N3WbvHXfyQr 9+cODN5GIA5JNS6Cs2pnw/DocF+jDL16BvEufbH7nVTV3cQYVoM7Dnlpm fxbqdcosHRzHtF8YHvG4ixHycmTPLVd2dskQYLibsuLmmtNEJ2+vVVJ7f OWMjx1y9pZn79n4IClyi7QiUcLuzg3zFK/fQ2eFj2dx5irAl8znYD3A8/ PFFH4hq57MW881n92QIpI172Vsq/o2j2JbxPcyr3J6CvO7D975wOUNDfL w==; X-IronPort-AV: E=McAfee;i="6500,9779,10510"; a="305023809" X-IronPort-AV: E=Sophos;i="5.95,209,1661842800"; d="scan'208";a="305023809" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Oct 2022 06:26:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10510"; a="582413718" X-IronPort-AV: E=Sophos;i="5.95,209,1661842800"; d="scan'208";a="582413718" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga003.jf.intel.com with ESMTP; 24 Oct 2022 06:26:10 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 24 Oct 2022 06:26:10 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 24 Oct 2022 06:26:09 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Mon, 24 Oct 2022 06:26:09 -0700 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.42) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Mon, 24 Oct 2022 06:26:03 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ni4OGzQuw+4uaF4dRWg3FWDwsHlBItKkIZGh4vZBVRKXv++Z8HZmv68ZDZFUU1/hpg+IyliN+GFKyzEeCYZu3mNAKPf6DH6i3MMdlHclqRI/ubR3D9Nw71AdOdAi/y6H6KTlNJ5T4JSAL/zNbB1DWkSSnCYnLSLHt8KvjceXcG0PgZErVobxVbiXArNR4v5p9Qus06E+PjwQFgmlk5eM6XxQUnG/wlPlZrWddnsJ59/nkURTC4VFgbHeBxrh42VBvxnsPLQtxT4aFBQBs6Fh9ecS2Fwu5Ho8zR+ZvrNjAF3NxkrXXReULrzaZIoodfJp4AXpgQmkbJCRJbLNSJFEyw== 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=EuCOcm0AMWlyLZxhRkbUgcGUoTzbosb450KLbz3kRcQ=; b=Q7+IUiC9WO2kR0N9SglhvJCYkGvO1FpgOT+b1LAIcIirHj8crQ1/0+VNMpwgrwxBfHCzGnHv+yOIAFlCjlh3Rt+YfwH8ukNo+CQqbeZaUWEwlEhDBOUKJoHXQHa3deeBmqNY7i1o1dKKzztWoiPqpHaAfeDOesoiLZc4EtNAmGPtKMnqyCYk9xsBCkN3MzhlpmZq3w7e7mOBLayMwf4MgC5XufzIUlGFG/nk02KveNWs4hCvrLngrWoOuJl1KkAAn0myKs/TejX6CtY2UU/rfd67qmxNv7sCxpPiYotvACOBBeNh/crkRb/AAIWOM3uuq7m8MBDip7MatRfvrXVkug== 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 MW4PR11MB5909.namprd11.prod.outlook.com (2603:10b6:303:168::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.30; Mon, 24 Oct 2022 13:26:01 +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 13:26:01 +0000 From: "Guo, Junfeng" To: Ferruh Yigit , "Zhang, Qi Z" , "Wu, Jingjing" , "ferruh.yigit@xilinx.com" , "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 1/8] net/gve/base: introduce base code Thread-Topic: [PATCH v7 1/8] net/gve/base: introduce base code Thread-Index: AQHY5S52DhYcafJFEk62O9w7ShNHCK4dYoMAgAArU1A= Date: Mon, 24 Oct 2022 13:26:01 +0000 Message-ID: References: <20221020103656.1068036-1-junfeng.guo@intel.com> <20221021091928.2674471-1-junfeng.guo@intel.com> <20221021091928.2674471-2-junfeng.guo@intel.com> <3ff4b7f5-057b-43ef-7846-66fad0a72849@amd.com> In-Reply-To: <3ff4b7f5-057b-43ef-7846-66fad0a72849@amd.com> 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_|MW4PR11MB5909:EE_ x-ms-office365-filtering-correlation-id: 1b914ea6-7e92-4219-77d0-08dab5c34b46 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vES34m8VH7YwMPrZdxnM+Z7ZBiVSyRkBqcEOxAwKrvDJPKMT7kRsrKgXxV+BuBa8WcD0R3JW6mNJiFFrhPJ5bz2JYpSxOwBKI806jPGHrDRu3toF4aUv0rcEwK4SlT8y7PKXcnjDZbevK/6zOqrCM+Xng2rlYk+R0qWnktQjBrNqNgYGMLQYUyPgxogwosBBVgLcQEQBflDCOq5OaLXytWoUwmwmK7a5malZQUndSH3gSPVP+I+ddi2NXr1XjnrHcCN0mUWTmmHWBhYg572zmssoxHTktbktzOCccytekDqVEr+0lbaOX8elA/pDMNS5xQxdFNA4JzjkUgaoSlUt73LtzhsVgqL18xkCG2E9Mw1xHEu4/yuWSKi6AeqsFA3dz3ZqlhJpcIKQvFvi7jPsoEUIRaDfbA0HK3riQB8KDa7QVEVc3HDkrJWHI3+XkN6ZXI6Dya6kK1rIhb++b5fijltfhL8ciyREh9f99kqEbcd7e9+tURa3i3Fly6HJvM6CO15G2XwsNAaE3axpwdCBYQbomUhPqaJgdA2Yf/q8WoRsNd6vS9bWoQk48bZI8mD52vLL5mUEMI4/+4fAfrtKEy/lmxZAGyevkzlJpb1huzUP6olzIowQ0FLWxSeQMMTRPjWaH0P6ae9lycInmXWVV0yRCCemm+qOEgoF22Ygzy1pzyryfOTxE+XLJP+1AVokoGZ3g4xxeYFpTqJnMiwQShQ9hwELGMVsN/VztxvOeFpxU8ES5JyaPMnPk1mN6QgEwoVPJ12gO5iUISi1qpcOTg== 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)(396003)(39860400002)(346002)(136003)(376002)(366004)(451199015)(26005)(64756008)(54906003)(6636002)(110136005)(316002)(83380400001)(8936002)(66556008)(5660300002)(33656002)(2906002)(66446008)(86362001)(76116006)(66946007)(9686003)(186003)(7696005)(122000001)(66476007)(41300700001)(53546011)(55016003)(4326008)(107886003)(8676002)(38070700005)(6506007)(82960400001)(52536014)(38100700002)(71200400001)(478600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?UmVmaFh1Lzd5Ry9UcmF0TUxwcFZqTzJkUi96TXR0VmdLVXdUd1MwQzQ0Qkwz?= =?utf-8?B?RWpSTW9HZUZpdk1IVjR3SFppM3RRbThwU0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-8?B?eUZ0a0hjSCtjU1htSUZJS1VIdndBSXk3cjV2eGFzS21lbHlxaGtrOER5cHJr?= =?utf-8?B?RlZ3K1d5bWs1NWhBZXdkZlZiaFpBS3R6QVVqcFRNRUpqd2JjWTB1MjVaWXdM?= =?utf-8?B?UVJISzEzYVA4ZngxRUswVG5uWHR1bkhsL0FuMnh2SW9KSUZpRFltVmtuVGhP?= =?utf-8?B?QjI5SzZVUHBXU1o5RkNPVC9YYVpkQWUxblBUM0hVMVYzVzZKUWdKZnhLRWNK?= =?utf-8?Q?UikCqg4zeuCS3OuYrheC4n+jl?= 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: 1b914ea6-7e92-4219-77d0-08dab5c34b46 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Oct 2022 13:26:01.2193 (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: btDhmiBiyN3AKBwc7VhEi0kTq4jWXhKAiZ5b54WmaOUzXU920dbx3ZHar905nGZoSpa+INrctf+oa1ZSoRfkdw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR11MB5909 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 ZXJydWgueWlnaXRAYW1kLmNvbT4NCj4gU2VudDogTW9uZGF5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