Introduce a new netdev type - netdev-doca.
In order to compile, need to install doca on the build machine.

v2-v1:
- Fixed licence comment headers.
- Abandoned dpdk-extra patch. It is a configuration issue and there is
  also [1].
- Added co-author to some of the commits.

[1] https://mail.openvswitch.org/pipermail/ovs-dev/2026-February/430134.html

v3-v2:
- There is a lot of code that can be shared with netdev-dpdk. Refactored it
  to enable sharing.
- Added documentation files.
- Styling fixes.
- Reworked ovs-rcu and refmap patches.
- Added support for github actions (CI) to compile with doca.
- Simplified acinclude.m4.
- Reworked sysfs access. Most of the accesses are now with doca-API.
- Reworked error paths - returned values, messages and rollbacks.

Ariel Levkovich (1):
  acinclude.m4: Add '--with-doca' option.

Eli Britstein (8):
  packets: Move ETH_TYPE_LLDP to be a public define.
  netdev-dpdk-private: Refactor declarations from netdev-dpdk.
  netdev-dpdk: Change access from dev->common.xxx to common->xxx.
  netdev-dpdk: Make 'started' field atomic.
  netdev-dpdk: Direct mempool usage.
  netdev-dpdk: Refactor common functions for reuse by netdev-doca.
  unixctl: Introduce unixctl_mem_stream().
  netdev-doca: Introduce doca netdev.

Gaetan Rivet (2):
  ovs-rcu: Add support for embedded variant.
  refmap: Introduce reference map.

 .ci/doca-build.sh                     |   36 +
 .ci/doca-install.sh                   |   20 +
 .github/workflows/build-and-test.yml  |   58 +
 Documentation/automake.mk             |    2 +
 Documentation/howto/doca.rst          |  143 ++
 Documentation/howto/index.rst         |    1 +
 Documentation/intro/install/doca.rst  |  104 +
 Documentation/intro/install/index.rst |    1 +
 Makefile.am                           |    2 +
 NEWS                                  |    4 +
 acinclude.m4                          |  174 ++
 configure.ac                          |    3 +-
 lib/automake.mk                       |   13 +
 lib/dpdk.c                            |   32 +-
 lib/dpdk.h                            |    1 +
 lib/guarded-list.c                    |   10 +
 lib/guarded-list.h                    |    2 +
 lib/netdev-doca.c                     | 2898 +++++++++++++++++++++++++
 lib/netdev-doca.h                     |  159 ++
 lib/netdev-dpdk-private.h             |  290 +++
 lib/netdev-dpdk.c                     | 2163 +++++++++---------
 lib/ovs-doca.c                        |  812 +++++++
 lib/ovs-doca.h                        |  113 +
 lib/ovs-lldp.c                        |    1 -
 lib/ovs-rcu.c                         |  110 +-
 lib/ovs-rcu.h                         |   39 +
 lib/packets.h                         |    7 +-
 lib/refmap.c                          |  485 +++++
 lib/refmap.h                          |  130 ++
 lib/unixctl.c                         |   44 +-
 lib/unixctl.h                         |    3 +
 tests/automake.mk                     |    1 +
 tests/library.at                      |    5 +
 tests/ofproto-macros.at               |    1 +
 tests/test-aa.c                       |    2 -
 tests/test-rcu.c                      |  131 ++
 tests/test-refmap.c                   |  894 ++++++++
 utilities/checkpatch_dict.txt         |    4 +
 vswitchd/bridge.c                     |    5 +
 vswitchd/ovs-vswitchd.c               |    3 +
 vswitchd/vswitch.ovsschema            |    9 +-
 vswitchd/vswitch.xml                  |   95 +-
 42 files changed, 7802 insertions(+), 1208 deletions(-)
 create mode 100755 .ci/doca-build.sh
 create mode 100755 .ci/doca-install.sh
 create mode 100644 Documentation/howto/doca.rst
 create mode 100644 Documentation/intro/install/doca.rst
 create mode 100644 lib/netdev-doca.c
 create mode 100644 lib/netdev-doca.h
 create mode 100644 lib/netdev-dpdk-private.h
 create mode 100644 lib/ovs-doca.c
 create mode 100644 lib/ovs-doca.h
 create mode 100644 lib/refmap.c
 create mode 100644 lib/refmap.h
 create mode 100644 tests/test-refmap.c

-- 
2.34.1

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to