[ovs-dev] [PATCH net-next v4 0/2] net: openvswitch: masks cache enhancements
Eelco Chaudron
echaudro at redhat.com
Fri Jul 31 12:20:34 UTC 2020
This patchset adds two enhancements to the Open vSwitch masks cache.
Signed-off-by: Eelco Chaudron <echaudro at 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(-)
More information about the dev
mailing list