Skip to content

net: openvswitch: masks cache enhancements

Eelco Chaudron netdev 4 versions – In review

Get series with b4
b4 am 159619801209.973760.834607259658375498.stgit@ebuild

Versions newest first · linked by author and title

  1. v4 Latest2 patches 1 replyIn review
  2. v32 patches 6 repliesSuperseded
  3. v22 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches6 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: openvswitch: add masks cache hit counterinclude/uapi/linux/openvswitch.h net/openvswitch/datapath.c net/openvswitch/datapath.h +2 more+24 -80 replies
2/2net: openvswitch: make masks cache size configurableinclude/uapi/linux/openvswitch.h net/openvswitch/datapath.c net/openvswitch/flow_table.c +1 more+115 -140 replies

Reviews trailers per patch

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

PatchPaolo AbeniTonghao Zhang
1/2R-b R-b
2/2R-b R-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/2] net: openvswitch: masks cache enhancements

This patchset adds two enhancements to the Open vSwitch masks cache.

Changes in v4 [patch 2/2 only]:
- Remove null check before calling free_percpu()
- Make ovs_dp_change() return appropriate error codes

Changes in v3 [patch 2/2 only]:
- Use is_power_of_2() function
- Use array_size() function
- Fix remaining sparse errors

Changes in v2 [patch 2/2 only]:
- Fix sparse warnings
- Fix netlink policy items reported by Florian Westphal

Eelco Chaudron (2):
net: openvswitch: add masks cache hit counter
net: openvswitch: make masks cache size configurable

 include/uapi/linux/openvswitch.h |    3 +
 net/openvswitch/datapath.c       |   22 +++++++
 net/openvswitch/datapath.h       |    3 +
 net/openvswitch/flow_table.c     |  120 ++++++++++++++++++++++++++++++++------
 net/openvswitch/flow_table.h     |   13 +++-
 5 files changed, 139 insertions(+), 22 deletions(-)