This series provides a mechanism to allow the revalidator to retry deletion of tc police action instances. Without such a technique action instances created independent of flows, for metering, may be left dangling if deletion fails when they are still used by flows.
Change since v2: * Only apply mechanism to police actions whose deletion has failed Tianyu Yuan (3): id_pool: expose id_node for external use id_pool: add helper function to add id_node in hmap dpif-netlink: add revalidator for offload of meters lib/dpif-netdev.c | 1 + lib/dpif-netlink.c | 26 +++++++++++++++++++++++++- lib/dpif-provider.h | 4 ++++ lib/dpif.c | 7 +++++++ lib/dpif.h | 2 ++ lib/id-pool.c | 19 ++++++++++--------- lib/id-pool.h | 8 ++++++++ lib/netdev-offload-tc.c | 5 ++++- lib/netdev-offload.c | 8 +++++--- ofproto/ofproto-dpif-upcall.c | 6 ++++++ ofproto/ofproto-dpif.c | 10 +++++++++- ofproto/ofproto-dpif.h | 3 +++ 12 files changed, 84 insertions(+), 15 deletions(-) -- 2.30.2 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
