Skip to content

expand meter tables and fix bug

[email protected] netdev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 1 replyIn review
  2. v35 patches 8 repliesSuperseded
  3. v25 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches11 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5net: openvswitch: expand the meters supported numbernet/openvswitch/datapath.h net/openvswitch/meter.c net/openvswitch/meter.h+195 -630 replies
2/5net: openvswitch: set max limitation to metersnet/openvswitch/meter.c net/openvswitch/meter.h+49 -100 replies
3/5net: openvswitch: remove the unnecessary checknet/openvswitch/meter.c+4 -50 replies
4/5net: openvswitch: make EINVAL return value more obviousnet/openvswitch/meter.c+2 -30 replies
5/5net: openvswitch: use u64 for meter bucketnet/openvswitch/meter.c net/openvswitch/meter.h+2 -20 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchPravin B Shelar
1/5A-b
2/5A-b
3/5A-b
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH net-next v4 0/5] expand meter tables and fix bug

From: Tonghao Zhang <[email protected]>

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(-)
Signature · 14 lines
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