From: Tonghao Zhang <[email protected]> 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(-) -- 1.8.3.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
