[ovs-dev] [PATCH net-next v3 0/5] expand meter tables and fix bug

xiangxia.m.yue at gmail.com xiangxia.m.yue at gmail.com
Wed Apr 22 17:08:55 UTC 2020


From: Tonghao Zhang <xiangxia.m.yue at 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



More information about the dev mailing list