mbox series

[ovs-dev,ovs-dev,0/7] Support meter action offload

Message ID 1577517076-105041-1-git-send-email-xiangxia.m.yue@gmail.com
Headers show
Series Support meter action offload | expand

Message

Tonghao Zhang Dec. 28, 2019, 7:11 a.m. UTC
From: Tonghao Zhang <xiangxia.m.yue@gmail.com>

This series patch support the meter action offload.
We add the general struct, api and implement the
dpdk meter offload. Any suggestion is welcome.

Tonghao Zhang (7):
  dpif-netdev: Remove dp_meter_* struct to header file
  netdev-offload: Pass dpif as an argument to flow_put
  dpif-provider: Add dpif provider meter api
  netdev-offload-provider: Add meter offload struct
  netdev-dpif: Implement netdev meter offload
  ofp-meter: Add get max-rate function
  netdev-offload-dpdk: Add dpdk offload meter action

 include/openvswitch/ofp-meter.h |   1 +
 lib/dpif-netdev.c               | 159 ++++++++++++++++++---
 lib/dpif-netdev.h               |  19 +++
 lib/dpif-netlink.c              |   5 +-
 lib/dpif-provider.h             |   5 +
 lib/dpif.c                      |  66 +++++++++
 lib/dpif.h                      |   6 +
 lib/netdev-dpdk.c               |   6 +
 lib/netdev-dpdk.h               |   1 +
 lib/netdev-dummy.c              |   8 +-
 lib/netdev-offload-dpdk.c       | 298 ++++++++++++++++++++++++++++++++++------
 lib/netdev-offload-provider.h   |  17 ++-
 lib/netdev-offload-tc.c         |   7 +-
 lib/netdev-offload.c            |  11 +-
 lib/netdev-offload.h            |   4 +-
 lib/ofp-meter.c                 |  13 ++
 16 files changed, 548 insertions(+), 78 deletions(-)