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 55118A054A; Tue, 25 Oct 2022 14:33:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CD5E142C0C; Tue, 25 Oct 2022 14:33:22 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2069.outbound.protection.outlook.com [40.107.94.69]) by mails.dpdk.org (Postfix) with ESMTP id CA3BF427FF for ; Tue, 25 Oct 2022 14:33:20 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m9JNDdVyyZmgDeRtpWWiHAi6qTV2Zd0bCsp//ePNCVqO/kbM7O43pLj2ZfhPBPipcod7yiOgf70T9A+pfRNSHVJVs80qjK9HEbtdljl53QYOB0cCrFo/gB7Z/OhXnA2HfMQ9B2yv0STtX1YV9Pyrtiir9+FAohzS8CSAyJhRcX9xmqPstkBgKVdoI/B19b+jsps8BQWX0FVL2gcojEnEulEE0WRz8osDVdVhNtzDHuSSERHyXCC326LtTqeiFZg2G73UPr2ZO+n0TdHkF9dWM655OvsPuJxqafZNC20a0eBU9s0mtq9dqRrfrJ2wvKkySeH0uRKSQ5I8mOueEhcjqg== 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=q/P+ZV9BD4AE936/l9pG2/su7g0vPgjCiA6AD4DNZVY=; b=fdv+GLMegi4o7qTCsQPnQnoqC0y8i1QtzSH+gF/tmqPdaqrNFRQJm432R/0pzJiFqX7BWOIqezhW/5eT/gMrRHOHbiUuXar1sOFRmXy2BGbtW6eL2eD+vmZKON+RvqzEzRk3qYt3GXpRWir2JDhQzuwfMJVq/kTHYAOeK4dB5SKpKGjLwofeGvz8CyuCDTxEWYJ4EaT6G/FWfROpqjj+Nsg5toWWP3WnkpMHetvvQEeZesBL2VWUKqVRk+YZx59cvF2g+pS+gDTmWnjHpF93hKg/KjTDaYPfNASsAi6hJGiMRfmpSrHmGmPx8bWtqcDBYxq2QMW+PwGF+GFK6BywIA== 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=q/P+ZV9BD4AE936/l9pG2/su7g0vPgjCiA6AD4DNZVY=; b=2pp0DtE+D+Ox8pacaYn4JLEzvPhPmZbHUUZuzdLbgd40E4xTwfmNFpRk+bsuclyx+/k1aQp1DH1QncJ6dFD5aaSyB3EnKlJwjkqCs8q1oupx2LfN9ff5t++FVCPIbCyLaWOlDmuFAJcrewcfA3Aeb4soFqLR9caMf+2bVkLT1d4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from MN2PR12MB4301.namprd12.prod.outlook.com (2603:10b6:208:1d4::22) by IA1PR12MB6018.namprd12.prod.outlook.com (2603:10b6:208:3d6::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.28; Tue, 25 Oct 2022 12:33:18 +0000 Received: from MN2PR12MB4301.namprd12.prod.outlook.com ([fe80::7900:1b25:bc:104c]) by MN2PR12MB4301.namprd12.prod.outlook.com ([fe80::7900:1b25:bc:104c%8]) with mapi id 15.20.5746.028; Tue, 25 Oct 2022 12:33:18 +0000 Message-ID: Date: Tue, 25 Oct 2022 13:33:12 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH v8 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: <20221021091928.2674471-2-junfeng.guo@intel.com> <20221025090729.2593603-1-junfeng.guo@intel.com> From: Ferruh Yigit In-Reply-To: <20221025090729.2593603-1-junfeng.guo@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0003.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:150::8) To MN2PR12MB4301.namprd12.prod.outlook.com (2603:10b6:208:1d4::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN2PR12MB4301:EE_|IA1PR12MB6018:EE_ X-MS-Office365-Filtering-Correlation-Id: fc688cce-0fa7-4b97-b579-08dab6851841 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3g0/fDC76asxKadyZnNZtVwGJRVrzDYoDz3d0MB7PbGBeO+9ZJl4hPYpbahbFcYRSZgTDM48bz2tBFLOdCEk+bZGEan9bcv09zf3hEV/JUrPIKSbzXYCap/J8sUu4lonYBcieVPPacOphL8/1A0X0RW9vm3/QjH2Y9qgGkhpUlsJ4PaKD8BhFNzKD5uzRIu/CR+I+WvSt27PoTU/WUakgTtaa0PQbh67tPQYGymGiIjuvLBnmULnVXbHNNKB8svl05wyP4j09G3Fvlp0iY80EtKX5ougNWRxTQrJuBh9pCKLP1f74YPDyg6fj4KMF4VHafXLhvmUqy6r0HVgaPw+WK5fJ6C2EZ7Ixp/UE17WLJEz48jAu9p9NVWdZerxOut8WFNYZT+aUDudMMtFEEvowwDpl7AdWLF2zfePiKk2dZ18wyccwnqLcy8htlLJu8Pe4zVHKZcwEbKTjS0LBTt6r27tvT2QeLiwHvUAAE3hxXfNQmIpmk9m9kQBZkapUW3prP3F7iDWPCqjF8Z6+2DQ5RSuFTdoNMdurGy5yyEIw/TFMZQo+23QG+0qEOAEmbdYhiJDvIhnb0x1Z46iQuxM0DMMyOe5bboyC+1WymPtprCPKBCzc81QRNoUDpvUZtM4/hk6onR+BOCKmmwLVBNX29ve3cu1pmMvqBOux9uygl7eOM7FnrLMuqBrVMOyxlbLmZFP5DtXvpgEIrjMRHHxIaYNoaruMWlHeM5N+axvy5ekRLWbcTPIBn2+ViQeF6fPdsGmJRpcDSSXRCsMu6qozwi/5oZTemEDylimvKdgOFvp79M1Yb2Oq9fN5X/189jbTCDzzratN6O9KBbEO4hUAHC1c/K5Z+lPe1OxfXO/3fM= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR12MB4301.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(366004)(396003)(346002)(136003)(39860400002)(376002)(451199015)(31696002)(86362001)(38100700002)(36756003)(2906002)(6486002)(966005)(7416002)(44832011)(6666004)(478600001)(8676002)(316002)(4326008)(66476007)(66556008)(66946007)(8936002)(5660300002)(41300700001)(83380400001)(6512007)(2616005)(6506007)(53546011)(26005)(186003)(31686004)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eE0xdU9vZkZTeWRFaHEzMXhOckVCQWtvclVUTUVrV2VvRUduN0VPUWNHblNx?= =?utf-8?B?R3BtaktTczh0VzZZbSs4WXlPMWtFUHB5SVkvV0pJUHpYaGtKUm9FQ1ZEdnVr?= =?utf-8?B?RFB0YUd5MFg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SY0hTWE1GRzIrcy9JYjAr?= =?utf-8?B?d0Jpd2VoVzFRc0FvdFVEK1pyRU9KUjhmN01HaG9VT0JYWWlXaDgvSVlRblBD?= =?utf-8?B?S1dmRjNsSXdwc0JodjBQeEk0WWVKNWdsbnZVRzZTV21zdmxWZmRzcGdTcmtV?= =?utf-8?B?T3d6YXpCY0tkR3hLbExWK2hmY0MrTDJMMzJUUjlkcWlhMVV0ZjdENWd6bXJ3?= =?utf-8?Q?dkntkGi1ytVF1cUkHFGNCdCrQ?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: fc688cce-0fa7-4b97-b579-08dab6851841 X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB4301.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2022 12:33:18.3504 (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: K6P6HeTa5kPePt11FvlisLEul0gk7wCM1lG6M8RD+DzujXYe7kgbykhfDBj5bHyu X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6018 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/25/2022 10:07 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: > improve the code. > > v7: > - remove Intel copyright for the google base files. > > v8: > - replace ETIME with ETIMEDOUT to pass the build check. > - use RTE_ETHER_ADDR_PRT_FMT/_ADDR_BYTES to get rid of 'mac' variable. > - add limitations in doc for current limited RSS and MTU. > > > 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 Series applied to dpdk-next-net/main, thanks. Please send a web page to document the new PMD: https://core.dpdk.org/supported/#nics