Introduce a new PMD for Google Virtual Ethernet (GVE). 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. Junfeng Guo (9): net/gve: introduce GVE PMD base code net/gve: add logs and OS specific implementation net/gve: support device initialization net/gve: add link update support net/gve: add MTU set support net/gve: add queue operations net/gve: add Rx/Tx support net/gve: add support to get dev info and configure dev net/gve: add stats support MAINTAINERS | 6 + doc/guides/nics/features/gve.ini | 18 + doc/guides/nics/gve.rst | 69 ++ doc/guides/nics/index.rst | 1 + doc/guides/rel_notes/release_22_11.rst | 5 + drivers/net/gve/gve.h | 58 ++ drivers/net/gve/gve_adminq.c | 926 +++++++++++++++++++++++++ drivers/net/gve/gve_adminq.h | 383 ++++++++++ drivers/net/gve/gve_desc.h | 139 ++++ drivers/net/gve/gve_desc_dqo.h | 256 +++++++ drivers/net/gve/gve_ethdev.c | 775 +++++++++++++++++++++ drivers/net/gve/gve_ethdev.h | 300 ++++++++ drivers/net/gve/gve_logs.h | 14 + drivers/net/gve/gve_osdep.h | 159 +++++ drivers/net/gve/gve_register.h | 30 + drivers/net/gve/gve_rx.c | 366 ++++++++++ drivers/net/gve/gve_tx.c | 682 ++++++++++++++++++ drivers/net/gve/meson.build | 15 + drivers/net/gve/version.map | 3 + drivers/net/meson.build | 1 + 20 files changed, 4206 insertions(+) create mode 100644 doc/guides/nics/features/gve.ini create mode 100644 doc/guides/nics/gve.rst create mode 100644 drivers/net/gve/gve.h create mode 100644 drivers/net/gve/gve_adminq.c create mode 100644 drivers/net/gve/gve_adminq.h create mode 100644 drivers/net/gve/gve_desc.h create mode 100644 drivers/net/gve/gve_desc_dqo.h create mode 100644 drivers/net/gve/gve_ethdev.c create mode 100644 drivers/net/gve/gve_ethdev.h create mode 100644 drivers/net/gve/gve_logs.h create mode 100644 drivers/net/gve/gve_osdep.h create mode 100644 drivers/net/gve/gve_register.h create mode 100644 drivers/net/gve/gve_rx.c create mode 100644 drivers/net/gve/gve_tx.c create mode 100644 drivers/net/gve/meson.build create mode 100644 drivers/net/gve/version.map -- 2.34.1