This patchset adds two enhancements to the Open vSwitch masks cache.
Signed-off-by: Eelco Chaudron <[email protected]>
Changes in v2:
- 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 | 19 ++++++-
net/openvswitch/datapath.h | 3 +
net/openvswitch/flow_table.c | 109 +++++++++++++++++++++++++++++++++-----
net/openvswitch/flow_table.h | 13 ++++-
5 files changed, 128 insertions(+), 19 deletions(-)