Hi > -----Original Message----- > From: Ferruh Yigit <ferruh.yi...@amd.com> > Sent: Wednesday, October 19, 2022 14:47 > To: Guo, Junfeng <junfeng....@intel.com>; Zhang, Qi Z > <qi.z.zh...@intel.com>; Wu, Jingjing <jingjing...@intel.com>; Maxime > Coquelin <maxime.coque...@redhat.com>; Xia, Chenbo > <chenbo....@intel.com> > Cc: dev@dpdk.org; Li, Xiaoyun <xiaoyun...@intel.com>; > awogbem...@google.com; Richardson, Bruce <bruce.richard...@intel.com>; > Lin, Xueqin <xueqin....@intel.com>; Wang, Haiyue > <haiyue.w...@intel.com>; Zhang, Helin <helin.zh...@intel.com>; Thomas > Monjalon <tho...@monjalon.net> > Subject: Re: [PATCH v5 3/8] net/gve: add support for device initialization > > 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 <haiyue.w...@intel.com> > > Signed-off-by: Xiaoyun Li <xiaoyun...@intel.com> > > Signed-off-by: Junfeng Guo <junfeng....@intel.com> > > <...> > > > --- /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?
It's similar to ENA driver for AWS. This is Google's own device for GCP. > If so what emulates it, I mean can we use QEMU for it? > And is there a kernel supported backend, as virtio has vhost? No. backend is not public. > > > +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. In GCP, they provide two types of devices which users can choose for the interfaces of the instance, virtio or gvnic, if users choose gvnic, then gve driver is needed and if they choose virtio, vitio is used. I'm not sure we should suggest which one to choose. I guess the best thing to do is just linking google's doc and let users to choose themselves. https://cloud.google.com/compute/docs/networking/using-gvnic > > Is "support higher network bandwidths" means this device is faster than > virtio? Is there any performance report? > Aren't there any other notable difference? This is from https://cloud.google.com/compute/docs/networking/using-gvnic. There is no official performance report. Google didn't provide any. From our private testing, gvnic is faster than virtio using the same instance type but virtio is more stable. But our testing can be wrong. It all depends how you config and use cloud env. > > I think better to document as much as possible, cc'ed more virtio people. >