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 E62E6A0586; Wed, 19 Oct 2022 15:47:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D5F0B42B6C; Wed, 19 Oct 2022 15:47:34 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2054.outbound.protection.outlook.com [40.107.220.54]) by mails.dpdk.org (Postfix) with ESMTP id 0C5BC410D1 for ; Wed, 19 Oct 2022 15:47:33 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WmH6l8ACw22eLTAK73kzbQ/jllR7OhxZFC4RV6WX9ig+vYKX6fltOX838rJEzh5ftuSLE13aa7h0x7xKXI3JyZp6e63UZzlc3HqFKtwPJ9pQ7Sp53+KDvTF/XTj7siLNuc4nufqlOvSr0NSul6BjgaJuVjwt/BIk83psS19kY+3Rvngpb5jxyxWEvn1OvgbI30MClqOtccGAo3ZlJIDpuJnklvUffm4L21Xf4TVialLMVVF/y3d9R2HI8V1AQaioyoHgFiClmP7HAtsBvMx4l6N85YPCZbg6t8nOgydLiGZlHUDyFiPohKuqVXkXjMfHidR1qZVJxj485aJHgJq4DA== 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=fvQWGn/AvGvEjidfuZbDG1dw05XbWcW+S13Z8A017Rw=; b=jxNwG3UHMp1E/Y2EIdpMs0KoWs0nnD6ZtYGDs4yQyES1SP6gidKshnItmr0bfdmIYCHWkcxSPoTYhDpC9PJFYpGg78h+kYhI4998p/vh85cyCj+bnYoh34TqW0Yf3MlNXF4shaZiyRIQJIet9b19aC3gJd/XY1FXWK9p3eUcTh2gxg++xYQnnzp/gZyr8XExZR0Ml8Zr8z/KRckZ87Ao4wNtSIr/ECnrxIpMFcv7BshTBeVhtTF2flygmo4JZWaMghGx9/+ugbSPEV3wsh+q33dC2iEH+2Ff6GIrDOl2zX+Y6P85BFABiKHlGGj2+tmnFycB9Y//t1qMARq7TiLJdQ== 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=fvQWGn/AvGvEjidfuZbDG1dw05XbWcW+S13Z8A017Rw=; b=YGtbJJO8669o3FBfYZ5rpkA8CoosMynD85Vgw5Um0BUAwAtuOx2/hV5cA7MpML1GxegDNMoajXV2cDx6hwy71DWEuzOW1jwkpFntf9FPn8ajKf6nq1J7XbRJ9j237qfhFQMmiP3mrfJYJBWcRufMXfVkKJwcZTpyyAzmCRwPRqU= 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 SN7PR12MB6931.namprd12.prod.outlook.com (2603:10b6:806:261::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.26; Wed, 19 Oct 2022 13:47:30 +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; Wed, 19 Oct 2022 13:47:30 +0000 Message-ID: Date: Wed, 19 Oct 2022 14:47:25 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: [PATCH v5 3/8] net/gve: add support for device initialization Content-Language: en-US To: Junfeng Guo , qi.z.zhang@intel.com, jingjing.wu@intel.com, Maxime Coquelin , Chenbo Xia Cc: dev@dpdk.org, xiaoyun.li@intel.com, awogbemila@google.com, bruce.richardson@intel.com, xueqin.lin@intel.com, Haiyue Wang , Helin Zhang , Thomas Monjalon References: <20220927073255.1803892-2-junfeng.guo@intel.com> <20221010101757.878317-1-junfeng.guo@intel.com> <20221010101757.878317-4-junfeng.guo@intel.com> From: Ferruh Yigit In-Reply-To: <20221010101757.878317-4-junfeng.guo@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0081.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:190::14) To DM6PR12MB4297.namprd12.prod.outlook.com (2603:10b6:5:211::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR12MB4297:EE_|SN7PR12MB6931:EE_ X-MS-Office365-Filtering-Correlation-Id: 8f856750-16b9-4dd1-5914-08dab1d877bd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QLIUtiIqV6KyVGIAg45+j7/gwIf4vTNbLm07QwsJ7J+NbdF9oXd4EVnfx0ZU/TEjaahgX9uY/hXSKXnI31LvwRiq+loR2lL6NemAYdBC+rEKVfM2Lt++D3wXCGu2ZyrFySol6e1tL9lvb9EoaJaj4qz964azhRFLlgB6NMJZFgZSW4rocNnwNiGdkK9OTbK79h9SKmOJtTTMyaExvj4ieaOletTpM69UzqV3zPcJkMcTk3rxH3hNe53sq+NCRGLSL6nqQaW3CvJYN0OQ/DFL/AoaFy1cmLZFWhTUQZ82TuqHewP0MzIrtlgmK7J44KszwKe3UBQkfwMvWt7p8LkWv0G325pwangBs3R4TcqUxRawlArF9RdIuqS4vKhD2OjJfi99eSl0VSvkqizqZoiWy8h4Yk57P/+clXn+S20yhjPewpMGkIowSjflbVs111pJGOUnNre00ggbkDVD6XHD7cw285lxOfr/oJADvJTxwMpkxRJt/izfclvjYoeZSIilYpmmr/tVFl+pT43TCNxvBFYyFLvpw4dLkSGzxSc+bMIkKozVati4weUl/V0XDLG1qdmqAT3W40dTzgxMFS/A/aA46hMYf7L6TPSi6W3EyTU9Fp4grKZd8tkhte7k7MXWWbOasBUWEvjJ/+zVtf8CZyEvY4jrq9N67Wapoxtt4Cya1yQN8JNd/uBm79Qabtoo5TO4ib+PEfW++cj/1JGEZXyJ3l/ImsEMX9/2TBLDJ6xdRFxUrcF68yY/BTYvZo9BMH3WmC5xjr0AVgWP4B42iBFTNHpIaBerPRrWtfp/Axo= 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)(366004)(396003)(136003)(346002)(39860400002)(376002)(451199015)(83380400001)(36756003)(31696002)(86362001)(38100700002)(6666004)(66556008)(316002)(54906003)(110136005)(31686004)(7416002)(5660300002)(44832011)(8936002)(186003)(66476007)(2906002)(6506007)(2616005)(53546011)(66946007)(478600001)(6512007)(6486002)(26005)(41300700001)(4326008)(8676002)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?N0QvSXRKMXFOR1pTWTdaRTNQT2U0bVVzRmFQNjVrOTBVbFEyZ0ZTY3c2MDRp?= =?utf-8?B?MERjQzBqY1cwUW5zbDZ0M2R4R1pmaTBXanBpSUF1LzN5eVJjT0tkOFpueURJ?= =?utf-8?B?aWdQUkJzcnpRRnYvODhUaDc0c29kK1JVMnFHVXh5QU4rN2RoNGpzU3laMDdW?= =?utf-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czbDNSYzhYdDJyRkEv?= =?utf-8?B?YUc1VGtNVlJLY0xHZ2gyc2tKRnBVSmpkQzRNZVNjWWQzYXRwRmxDY2c2ZlhR?= =?utf-8?B?cXJaKy9vRmo1RTFNM1Nra0Y4WE1Yb3ZTQlVmRjRIMjVRUkpsMDI3QWlOZytZ?= =?utf-8?Q?/TGVNQOtQzv2U3LtPfaoA3AQV?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8f856750-16b9-4dd1-5914-08dab1d877bd X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB4297.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2022 13:47:30.8030 (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: Jyn6jlF4lxVV4Y9CYIdF1YUn3Tjr0z76CeaRx8BGQo93Ys7EZr42n483OxCsckNd X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB6931 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/10/2022 11:17 AM, Junfeng Guo wrote: > > Support device init and add following devops skeleton: > - dev_configure > - dev_start > - dev_stop > - dev_close > > Note that build system (including doc) is also added in this patch. > > Signed-off-by: Haiyue Wang > Signed-off-by: Xiaoyun Li > Signed-off-by: Junfeng Guo <...> > --- /dev/null > +++ b/doc/guides/nics/gve.rst > @@ -0,0 +1,63 @@ > +.. SPDX-License-Identifier: BSD-3-Clause > + Copyright(C) 2022 Intel Corporation. > + > +GVE poll mode driver > +======================= > + > +The GVE PMD (**librte_net_gve**) provides poll mode driver support for > +Google Virtual Ethernet device (also called as gVNIC). > + This is a virtual device, emulated in VM as PCI device, right? If so what emulates it, I mean can we use QEMU for it? And is there a kernel supported backend, as virtio has vhost? > +Current gVNIC is an alternative to the virtIO-based ethernet interface that can > +support higher network bandwidths such as the 50-100 Gbps speeds. This is an alternative to virtio, and it would be good to document pros/cons of this device/approach, to help users to chose one or other. Is "support higher network bandwidths" means this device is faster than virtio? Is there any performance report? Aren't there any other notable difference? I think better to document as much as possible, cc'ed more virtio people.