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 6EB0AA034C; Thu, 1 Sep 2022 19:19:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1268640C35; Thu, 1 Sep 2022 19:19:32 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2067.outbound.protection.outlook.com [40.107.93.67]) by mails.dpdk.org (Postfix) with ESMTP id AA32740695; Thu, 1 Sep 2022 19:19:29 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dlaOATblCOFYbjcCjS8opBBCLseppOPMsqHL5qnWAOL+eNonMHiLQR36LEQJ96PTujqI/TM2e4CqQR9C9R/p/7wisP+da99ZUWVZ4YCXN05yvQbeH3YJJMHe92o/GfZzp17h2FrMnCAfASobZVrmUJdhx28GmdgCqFCBbnsl69zESqFS/Y1ABxPW95EAzAIMQQtPlWDW9XalRzSGQPd88Lk8kcvRJy+K5WvchFL85Lmln2Sj7ZQD3S4p/4poNl2WTJ1VJyFCZhqesRVGjFUnjR+NdaBX2p0iit45lF1hAeIvhRv43OLGA9W86nMCG0PMFLs8fIoEKNRkncx8PAt3eg== 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=i7rWzQLHqvlW2rBuBIrxRY32nSCslMOraL9wL2yCJpQ=; b=gLDbKAaRPbev0hfBYr/Pq408V7REslzJQwHfPl54RjYRdT1So+bdz65Xl1UhpCutS+fBmj8Sp1kxy0j54V4iydkcG+vlg6pEsuC5NPlI4SAhAL/8zTJsKMvlJb/j+qH9czZpWqAK0Qe6M09fX7UtPXT/yarcMK7CFwsExkHQFAnRDnAsbmqm4/Omvt6HzkK+LYxsWzVXscRXFd486q5IxIH6FuDiaeG+DsqtKbus10tIuqVVHdBlqu9BRlcBEPGC47o6HZRHpjuJKk/Mg1ijS3r+UF1Bs/oZYnKbvfcqFIPZnjd8ybPggrBfZHE/GCALlqljNYlBiIcSpJ07fS/iIw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.80.198) smtp.rcpttodomain=intel.com smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i7rWzQLHqvlW2rBuBIrxRY32nSCslMOraL9wL2yCJpQ=; b=F4CbBK7Bh32mCmV9Gpn29zKfmb6du7dY8Y0bM7YXkGguJgfIjzO4p3ye51PbygeeWPQIkL/oJHIS1DlGtWYa6mkhRNZdQt9uyeyzmckDdXofc9E/fIllS98DGJZnZ/GHSVS2NoIq2l2FUI7XtLN3h3tV14ZbHM5Lkm1yjKYXqvU= Received: from BN0PR02CA0056.namprd02.prod.outlook.com (2603:10b6:408:e5::31) by CH2PR02MB6375.namprd02.prod.outlook.com (2603:10b6:610:2::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.10; Thu, 1 Sep 2022 17:19:25 +0000 Received: from BN1NAM02FT017.eop-nam02.prod.protection.outlook.com (2603:10b6:408:e5:cafe::4) by BN0PR02CA0056.outlook.office365.com (2603:10b6:408:e5::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.10 via Frontend Transport; Thu, 1 Sep 2022 17:19:25 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.80.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.80.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.80.198; helo=xir-pvapexch01.xlnx.xilinx.com; pr=C Received: from xir-pvapexch01.xlnx.xilinx.com (149.199.80.198) by BN1NAM02FT017.mail.protection.outlook.com (10.13.2.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5588.10 via Frontend Transport; Thu, 1 Sep 2022 17:19:23 +0000 Received: from xir-pvapexch01.xlnx.xilinx.com (172.21.17.15) by xir-pvapexch01.xlnx.xilinx.com (172.21.17.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 1 Sep 2022 18:19:23 +0100 Received: from smtp.xilinx.com (172.21.105.198) by xir-pvapexch01.xlnx.xilinx.com (172.21.17.15) with Microsoft SMTP Server id 15.1.2375.24 via Frontend Transport; Thu, 1 Sep 2022 18:19:22 +0100 Envelope-to: junfeng.guo@intel.com, qi.z.zhang@intel.com, jingjing.wu@intel.com, stephen@networkplumber.org, hemant.agrawal@nxp.com, dev@dpdk.org, xiaoyun.li@intel.com, awogbemila@google.com, bruce.richardson@intel.com, haiyue.wang@intel.com, techboard@dpdk.org Received: from [10.71.194.74] (port=64607) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1oTnqc-0001G2-GX; Thu, 01 Sep 2022 18:19:22 +0100 Message-ID: <347595fb-629a-74a3-0b09-f487d3230ef0@xilinx.com> Date: Thu, 1 Sep 2022 18:19:22 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Subject: Re: [PATCH v2 01/10] net/gve: introduce GVE PMD base code Content-Language: en-US To: Junfeng Guo , , , Stephen Hemminger , Hemant Agrawal CC: , , , , Haiyue Wang , "techboard@dpdk.org" References: <20220729193042.2764633-2-xiaoyun.li@intel.com> <20220829084127.934183-1-junfeng.guo@intel.com> <20220829084127.934183-2-junfeng.guo@intel.com> From: Ferruh Yigit In-Reply-To: <20220829084127.934183-2-junfeng.guo@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ff44542d-712d-4e90-f764-08da8c3e1db4 X-MS-TrafficTypeDiagnostic: CH2PR02MB6375:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TjoTEm75DtDi/gzm1KCl8mKCgHGmddJqUycKasKeFXBrPK9eePA/Dcpjh7fFcMYppWH7R/HanfQsMD7DqdCvEsZcWR8FDRRBIBzdjjXoGh7/3T4giV7Vk/pdnPExCVaJC70BMC4v5PMQVd6I99V8w9obOlkbL+LZtBlMuwrgD7lSG20T6cHnmrGEZguIlwIlXyoDH7aPMq9VGFJ+OoUxxsn0nRTirvp/NSck9g9VPHk4FysYQF+7g0EuS4h7g597JAvlYERdRvw6rVaOwEsYzlkvIpbm+Lv+d7M9GUahUFxB72+WsciI2u1DQ861uSNJp8U47Rc1orzhcoET5mD5IvzX+/dgwixH1rOsEcklatxnOtkcHdGOe46OuCiIxmc96r3/IfjaTlhinipkvvNZKB4YIDR29m9u/T7XrbJOSNwhB0qq88K4IlmvrDViKEzD/rb/+LdRsusGycA/H0EP5FKmxU7E4X3/CxG+zWWxlFuziJNuVCIihd8nvjgkj3N7n3Sk9/pDUB+Ymn/T+M9vYWhEdZ16rc5ZIyFbGPg2Eq7a59yvKFQjfWlTEbUxNKvKCj3s5NzLr3o9VTGuLWOXxTGZ/zCHt6Ysyl07YtnElC9IVXShaxpTPgME+xbmmMnk4YpvlX94wehrBzVuFz6zX7oR9HfUpw6q3tc9aTcOmCFe5OhisKnS9mhEhiN+VbL3dP2UMZ/UKiMUob1aQ/sCL6izyEFqozPo84i3kE6Bb9lBL91IdB3g4hcbEJp4c4VjrRCN+sK2P68BFUZLjZRKpkvj0L1iaHi/9WXAemXX1Rv5X1WSWlr4Lsgq61PeBQRWN1SfwqWCTa7l9M/528RDxW2Pim2dsz/HuqlEW1LSXdPoAMOGofE6yzm6Owr0YLU1 X-Forefront-Antispam-Report: CIP:149.199.80.198; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:xir-pvapexch01.xlnx.xilinx.com; PTR:ErrorRetry; CAT:NONE; SFS:(13230016)(4636009)(376002)(346002)(136003)(39860400002)(396003)(40470700004)(46966006)(36840700001)(70586007)(83380400001)(426003)(70206006)(336012)(186003)(47076005)(2616005)(54906003)(110136005)(966005)(36756003)(316002)(31686004)(44832011)(26005)(53546011)(7416002)(40460700003)(31696002)(41300700001)(8936002)(478600001)(5660300002)(9786002)(8676002)(4326008)(36860700001)(82310400005)(2906002)(40480700001)(82740400003)(81166007)(356005)(50156003)(43740500002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2022 17:19:23.8887 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ff44542d-712d-4e90-f764-08da8c3e1db4 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.80.198]; Helo=[xir-pvapexch01.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: BN1NAM02FT017.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR02MB6375 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 On 8/29/2022 9:41 AM, Junfeng Guo wrote: > The following base code is based on Google Virtual Ethernet (gve) > driver v1.3.0 under MIT license. > - gve_adminq.c > - gve_adminq.h > - gve_desc.h > - gve_desc_dqo.h > - gve_register.h > > The original code is in: > https://github.com/GoogleCloudPlatform/compute-virtual-ethernet-linux/\ > tree/v1.3.0/google/gve > > Signed-off-by: Xiaoyun Li > Signed-off-by: Haiyue Wang > Signed-off-by: Junfeng Guo > --- > drivers/net/gve/gve_adminq.c | 925 +++++++++++++++++++++++++++++++++ > drivers/net/gve/gve_adminq.h | 381 ++++++++++++++ > drivers/net/gve/gve_desc.h | 137 +++++ > drivers/net/gve/gve_desc_dqo.h | 254 +++++++++ > drivers/net/gve/gve_register.h | 28 + > 5 files changed, 1725 insertions(+) > create mode 100644 drivers/net/gve/gve_adminq.c > create mode 100644 drivers/net/gve/gve_adminq.h > create mode 100644 drivers/net/gve/gve_desc.h > create mode 100644 drivers/net/gve/gve_desc_dqo.h > create mode 100644 drivers/net/gve/gve_register.h > > diff --git a/drivers/net/gve/gve_adminq.c b/drivers/net/gve/gve_adminq.c > new file mode 100644 > index 0000000000..8a724f12c6 > --- /dev/null > +++ b/drivers/net/gve/gve_adminq.c > @@ -0,0 +1,925 @@ > +/* SPDX-License-Identifier: MIT > + * Google Virtual Ethernet (gve) driver > + * Version: 1.3.0 > + * Copyright (C) 2015-2022 Google, Inc. > + * Copyright(C) 2022 Intel Corporation > + */ > + Can you please get approval for the MIT license from techboard, as Stephen highlighted in previous version?