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 E8744A0032; Fri, 21 Oct 2022 15:13:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8A9DF42C08; Fri, 21 Oct 2022 15:13:06 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2071.outbound.protection.outlook.com [40.107.220.71]) by mails.dpdk.org (Postfix) with ESMTP id 5187F42B9C for ; Fri, 21 Oct 2022 15:13:05 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T6/SvRm8q3g4tZAI4DuLNEH2wovHHj/N0N+OtD+RWQ6tQoPx0S9FcbpKs9YNJ7XNJHgf6nKasiUQ+YCTfZLnVvQ/t9S4ntkP2S5R9XJD/Xb+CKDI3tjjYWNc+6TsJiODShDt7iAy2L+m88bS9AqKppQPgCbJxOjCtUFzpk1QP6LbQ6P769hEZJG11otyCZ1Z/Tgt4nKyutjenXRohfHcTZplTvs50FXCR1rIHIfFduvgYcL4DB1bvn3EasavonNXweZT/KixBfT+VbQ1NvFFddYKdTcrsZAWTlUlwL3TErVt8pYwwB0YPfPq/kbdIsUWhEimo6xRly2yhxRZlXmH7g== 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=biGAaBD0z3V3VhFzUbjWL29pybqq9DFF+f5K2FZ9SQA=; b=Kzk94+8+8BTWFwlUNAn+DaL6dMpI7tqgtE1GCk4Zvcwoyr2eDPd2fla9QSJoCV+IXofC7DddquGGbdkM87euQ+WsuWltcyz1JmbPNL2+EcNGYHAvbxd7SA8gBjkVnXwirE+QoyRImj4Cq3WTgZa/yGQ3ggnrXmsOyuCQcN2WtanxJSO/UtG/vkRnF0gG/caIuae9x99UKe8LFjjxnknhnE1IHQ+7nk1q6DF3hLOKfdSyRRxzGhadFhO+Xyl7WrKk3eKVEp5tqoQRknUzUYcq+kSnTgcajLy5nEzAUuaPw+UU+r3oYN9LXLr+SkZo+n3gsMpzvH6BsdtqDHLHW9k+Tw== 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=biGAaBD0z3V3VhFzUbjWL29pybqq9DFF+f5K2FZ9SQA=; b=m5KJIMjAcV7Bj3Yc7UmWIx+zmtZe3T2fn+Z3HjlPGKcEsKea1sVcBfdOO/lX6UQYjNfrJ+iqH+IWVDNkTMH7QYLVKU+DdGBqbr2nj+833EYD4x8xIm1qNqHoclmjsM7wgp73RHcFn0K+wEyxvDq3ZaTP7lPMcYY5CCcXrFwfK9M= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from DM6PR12MB4297.namprd12.prod.outlook.com (2603:10b6:5:211::20) by CY8PR12MB7337.namprd12.prod.outlook.com (2603:10b6:930:53::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.33; Fri, 21 Oct 2022 13:13:03 +0000 Received: from DM6PR12MB4297.namprd12.prod.outlook.com ([fe80::b9fd:e732:4585:6b25]) by DM6PR12MB4297.namprd12.prod.outlook.com ([fe80::b9fd:e732:4585:6b25%7]) with mapi id 15.20.5723.033; Fri, 21 Oct 2022 13:13:03 +0000 Message-ID: <068a48e4-1349-4338-bd1e-2cfa60680728@amd.com> Date: Fri, 21 Oct 2022 14:12:56 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: [PATCH v7 0/8] introduce GVE PMD Content-Language: en-US To: Junfeng Guo , qi.z.zhang@intel.com, jingjing.wu@intel.com, beilei.xing@intel.com Cc: dev@dpdk.org, xiaoyun.li@intel.com, awogbemila@google.com, bruce.richardson@intel.com, hemant.agrawal@nxp.com, stephen@networkplumber.org, chenbo.xia@intel.com, helin.zhang@intel.com References: <20221020103656.1068036-1-junfeng.guo@intel.com> <20221021091928.2674471-1-junfeng.guo@intel.com> From: Ferruh Yigit In-Reply-To: <20221021091928.2674471-1-junfeng.guo@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LNXP265CA0071.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::35) To DM6PR12MB4297.namprd12.prod.outlook.com (2603:10b6:5:211::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR12MB4297:EE_|CY8PR12MB7337:EE_ X-MS-Office365-Filtering-Correlation-Id: ad47bd39-38ae-4d32-76e2-08dab365fbf7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: n/gV4RQ/1i+573KWd0BE+fn5ycw+FoUFXINoKuc2WnkwGjCDZWPl5dpxdD3fdKKoKb0SwoWOKT7pP5Xv7ZZsNLLZlrTtpqB0eoj53SFNbryHGxweKqLT1VHaBDLRo/0YKuQYPOhjdkpDToqnd4y1z0wEVWfDI+2kijuoO3bpXWLABKip943ae/aUDScQqwyeZCr0zHmqVWlxKTixWeqGAH6zCrmIB7AnpIHcgcUycoAoxSvZ0pTbZRuMbn9XssjwGg2mbOMsu2Y7wuFfncUB8HlWljLfRzL9bZmGhrIEsnmRcymzK4H9A/WaVWUIhNJfo1rO1fHfPIXRYjdvQ0CoCns5+3OhR6bcQxYOJdEl2tqgS3SE+DtXmvwzSxUL10wgXguiM5WM/X46XtOO7nnv7NvWBUdXrdhqzyzix/AK/7NT6KyhKTzH3ITUZuN6yjSnj4h/xiRJ0dnMYB5kSh0xD53/UNQVV7d/tKRQF5UIaEvoslecm4MHdyfReogqtHm6bjqrZctvbn5k/LP5plqfuRaNUO3ohRDwCLGEsRBmt5AX9RyFEV7ZyNjKr9Cu4m8IkhM7bRWdbQF83DvVX6CNtJGon0teeJTcNeXeVzWSNQs5qYF7wHMVdMR+rf33Ugd8Vzx5gH7ozQztMOef0mPW6WHfOe1faJ37SzWTcFEVdWftwOqkG8OAY/8YXpvSC73WgTYqmU351Z5rgIkbd9FDSrAElBANg5MmWsYMHCtiH+u847qfyarAFrzMRFMwZ00kwsQmCUYy303+H8OWa5p41xDOpDD+hS2fmTu1V2sT3nFkeHSCYrBCawCEYzJCXfmWhiWyuz0TQUTY2endUgs7cEXEyzEmlQz8CIJgOIY1JAc= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB4297.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(136003)(376002)(39860400002)(346002)(396003)(366004)(451199015)(26005)(31686004)(38100700002)(2906002)(316002)(186003)(7416002)(6486002)(966005)(44832011)(83380400001)(478600001)(86362001)(36756003)(6506007)(2616005)(5660300002)(41300700001)(6512007)(8936002)(66556008)(6666004)(53546011)(31696002)(4326008)(66476007)(8676002)(66946007)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?MEh6Qko4dCtEYUUvdiswejVURFhVays3bE5aczlqMXFGU3lmNHBTcWV3WHZY?= =?utf-8?B?ZTQzYWtPUGRVNUJEbERpdFY1VFhtSGVkR0x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AwcWlUL1U4UGF5NUJIUS9kbExEWjk5bi9yUmt2dmh0NGFEa2ZVRTllVGRq?= =?utf-8?B?TGxRRWpCWWdEcXNMS2VSdU9JMkhHcXhQLzhSQmtQd1o0YmtudDZseCs1NUZY?= =?utf-8?B?QVJ0cEROVDdGZlZWR3FhVTRhdEQ4cDY5a3JnamRPOVNyVmZwMDNyUkthUmhW?= =?utf-8?B?WUhKWmFYdlpyRzZETWpGRG9WSGZqR0N2bTl4Qjh1MHhJMGxOK0pneTRkTmN3?= =?utf-8?Q?bWGnIU1YiOaZM7CQlSu/6u9HR?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: ad47bd39-38ae-4d32-76e2-08dab365fbf7 X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB4297.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2022 13:13:03.0151 (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: +PZUaOGBfmPh8UCJb3v1N3ZGq/JBw1islPYlbsHWpHner4GD3D0i7BFww6GKgIlx X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB7337 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 10/21/2022 10:19 AM, Junfeng Guo wrote: > Introduce a new PMD for Google Virtual Ethernet (GVE). > > gve (or gVNIC) is the standard virtual ethernet interface on Google Cloud > Platform (GCP), which is one of the multiple virtual interfaces from those > leading CSP customers in the world. > > Having a well maintained/optimized gve PMD on DPDK community can help those > cloud instance consumers with better experience of performance, maintenance > who wants to run their own VNFs on GCP. > > Please refer tohttps://cloud.google.com/compute/docs/networking/using-gvnic > for the device description. > > This patch set requires an exception for MIT license for GVE base code. > And the base code includes the following files: > - gve_adminq.c > - gve_adminq.h > - gve_desc.h > - gve_desc_dqo.h > - gve_register.h > > It's based on GVE kernel driver v1.3.0 and the original code is in > https://github.com/GoogleCloudPlatform/compute-virtual-ethernet-linux/tree/v1.3.0 > > > v2: > fix some CI check error. > > v3: > refactor some code and fix some build error. > > v4: > move the Google base code files into DPDK base folder. > > v5: > reorder commit sequence and drop the stats feature. > > v6-v7: > improve the code. > > Junfeng Guo (8): > net/gve/base: introduce base code > net/gve/base: add OS specific implementation > net/gve: add support for device initialization > net/gve: add support for link update > net/gve: add support for MTU setting > net/gve: add support for dev info get and dev configure > net/gve: add support for queue operations > net/gve: add support for Rx/Tx Can you please check the build error reported by CI: https://mails.dpdk.org/archives/test-report/2022-October/318054.html Following link can be helpful: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225324