mbox series

[net-next,v4,0/2] net: openvswitch: masks cache enhancements

Message ID 159619801209.973760.834607259658375498.stgit@ebuild
Headers show
Series net: openvswitch: masks cache enhancements | expand

Message

Eelco Chaudron July 31, 2020, 12:20 p.m. UTC
This patchset adds two enhancements to the Open vSwitch masks cache.

Signed-off-by: Eelco Chaudron <echaudro@redhat.com>

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(-)

Comments

David Miller Aug. 3, 2020, 10:18 p.m. UTC | #1
From: Eelco Chaudron <echaudro@redhat.com>
Date: Fri, 31 Jul 2020 14:20:34 +0200

> This patchset adds two enhancements to the Open vSwitch masks cache.
> 
> Signed-off-by: Eelco Chaudron <echaudro@redhat.com>

Series applied, thank you.