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