RE: [PATCH v3 1/9] net/gve: introduce GVE PMD base code

2022-09-27 Thread Guo, Junfeng
gt; Wang, Haiyue > Subject: Re: [PATCH v3 1/9] net/gve: introduce GVE PMD base code > > On Fri, 23 Sep 2022 17:38:21 +0800 > Junfeng Guo wrote: > > > Note that these code are not Intel files and they come from the kernel > > community. The base code there has the sta

RE: [PATCH v3 1/9] net/gve: introduce GVE PMD base code

2022-09-27 Thread Guo, Junfeng
gt; Wang, Haiyue > Subject: Re: [PATCH v3 1/9] net/gve: introduce GVE PMD base code > > On Fri, 23 Sep 2022 17:38:21 +0800 > Junfeng Guo wrote: > > > +#define GVE_DEVICE_OPTION_TOO_BIG_FMT "Length of %s option > larger than expected. Possible older version of gue

Re: [PATCH v3 1/9] net/gve: introduce GVE PMD base code

2022-09-23 Thread Stephen Hemminger
On Fri, 23 Sep 2022 17:38:21 +0800 Junfeng Guo wrote: > Note that these code are not Intel files and they come from the kernel > community. The base code there has the statement of > SPDX-License-Identifier: (GPL-2.0 OR MIT). Here we just follow the > required MIT license as an exception to DPDK.

Re: [PATCH v3 1/9] net/gve: introduce GVE PMD base code

2022-09-23 Thread Stephen Hemminger
On Fri, 23 Sep 2022 17:38:21 +0800 Junfeng Guo wrote: > +#define GVE_DEVICE_OPTION_TOO_BIG_FMT "Length of %s option larger than > expected. Possible older version of guest driver." Why do you need #define for this? +#define GVE_DEVICE_OPTION_ERROR_FMT "%s option error:\n" \ +"Expected: length=

[PATCH v3 1/9] net/gve: introduce GVE PMD base code

2022-09-23 Thread Junfeng Guo
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 - gve.h The original code is in: https://github.com/GoogleCloudPlatform/compute-virtual-ethernet-linux/\ tree/v1.3.0