net: openvswitch: make masks cache size configurable
authorEelco Chaudron <echaudro@redhat.com>
Fri, 31 Jul 2020 12:21:34 +0000 (14:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Aug 2020 22:17:48 +0000 (15:17 -0700)
commit9bf24f594c6acf676fb8c229f152c21bfb915ddb
tree9c873cb21853766ebea8867842d0a566d42cf4b6
parent9d2f627b7ec9d5d3246b6cec17f290ee6778c83b
net: openvswitch: make masks cache size configurable

This patch makes the masks cache size configurable, or with
a size of 0, disable it.

Reviewed-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/openvswitch.h
net/openvswitch/datapath.c
net/openvswitch/flow_table.c
net/openvswitch/flow_table.h