This series is to add support for tc offloading of ovs metering, and
enhance OVS to use new kernel feature which offload tc police action to
hardware.
To do the offloading, new APIs for meter are added in netdev-offload,
and OVS meters are mapped to tc police actions with one-to-one
relationship for dpif-netlink.

Notes:
    v6
    - Add howto doc for meter offload.
    - other misc changes after review.

    v5
    - Add the stats of dropped packets.
    - Enhance meter tests.
    - other misc changes.

    v4
    - Move meter offload API to netdev_flow_api.
    - Add tests to check if meter is offloaded.
    - Modify NEWS.

    v3
    - Add netdev-offload APIs for meter.
    - Move the implementation to lower netdev-offload-tc layer.

    v2
    - Move tc police parse call from last patch to 2nd patch.
      2nd patch is adding the parse lib func and add the call to it in
that patch.
      Last patch is the put of tc police act.
      In 2nd patch also add empty switch case for tc police act put as
the impl.
      is done in the last patch when support for put is being added.

Jianbo Liu (9):
  netdev-offload: Add meter offload API
  tc: Add support parsing tc police action
  netdev-linux: Refactor put police action netlink message
  netdev-linux: Add functions to manipulate tc police action
  netdev-offload-tc: Implement meter offload API for tc
  netdev-offload-tc: Cleanup police actions with reserved indexes on
    startup
  netdev-offload-tc: Offloading rules with police actions
  dpif-netlink: Offloading meter to tc police action
  doc: Add meter offload topic document

 Documentation/automake.mk          |   1 +
 Documentation/howto/index.rst      |   1 +
 Documentation/howto/tc-offload.rst |  75 +++++++
 NEWS                               |   2 +
 lib/dpif-netlink.c                 |  31 ++-
 lib/netdev-linux.c                 | 233 ++++++++++++++++----
 lib/netdev-linux.h                 |   6 +
 lib/netdev-offload-provider.h      |  27 +++
 lib/netdev-offload-tc.c            | 336 +++++++++++++++++++++++++++++
 lib/netdev-offload.c               |  59 +++++
 lib/netdev-offload.h               |   5 +
 lib/tc.c                           | 251 +++++++++++++++++----
 lib/tc.h                           |  14 ++
 tests/system-offloads-traffic.at   |  98 +++++++++
 14 files changed, 1056 insertions(+), 83 deletions(-)
 create mode 100644 Documentation/howto/tc-offload.rst

-- 
2.26.2

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to