From: Tonghao Zhang <xiangxia.m....@gmail.com> The patch set expand or shrink the meter table when necessary. and other patches fix bug or improve codes.
Tonghao Zhang (5): net: openvswitch: expand the meters supported number net: openvswitch: set max limitation to meters net: openvswitch: remove the unnecessary check net: openvswitch: make EINVAL return value more obvious net: openvswitch: use u64 for meter bucket net/openvswitch/datapath.h | 2 +- net/openvswitch/meter.c | 303 ++++++++++++++++++++++++++++--------- net/openvswitch/meter.h | 20 ++- 3 files changed, 247 insertions(+), 78 deletions(-) -- v3: * attach_meter return -EBUSY, not -EINVAL * change the return type of detach_meter * add comments * the meter max number limited by memory and DP_METER_NUM_MAX * fix checkpatch warnning v2: * change the hash table to meter array * add shrink meter codes * add patch 4 and 5 -- 2.23.0 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev