On Thu, 2022-04-07 at 09:15 +0000, Jianbo Liu wrote: > 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: > 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 (8): > netdev-offload: Add meter offload provider > 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 and register 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 > > lib/dpif-netlink.c | 47 ++++- > lib/netdev-linux.c | 215 ++++++++++++++++++----- > lib/netdev-linux.h | 6 + > lib/netdev-offload-provider.h | 17 ++ > lib/netdev-offload-tc.c | 321 ++++++++++++++++++++++++++++++++++ > lib/netdev-offload.c | 119 +++++++++++++ > lib/netdev-offload.h | 10 ++ > lib/netdev.c | 1 + > lib/tc.c | 164 +++++++++++++++++ > lib/tc.h | 14 ++ > 10 files changed, 868 insertions(+), 46 deletions(-) >
Friendly ping for review. Thanks! Jianbo _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
