[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1587686886-16347-1-git-send-email-xiangxia.m.yue@gmail.com>
Date: Fri, 24 Apr 2020 08:08:01 +0800
From: xiangxia.m.yue@...il.com
To: pshelar@....org, azhou@....org, blp@....org, u9012063@...il.com
Cc: netdev@...r.kernel.org, dev@...nvswitch.org,
Tonghao Zhang <xiangxia.m.yue@...il.com>
Subject: [PATCH net-next v4 0/5] expand meter tables and fix bug
From: Tonghao Zhang <xiangxia.m.yue@...il.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(-)
--
v4:
* patch 2, fix min() build warning which found with gcc-9.x
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
Powered by blists - more mailing lists