]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita674f0a93189bfe55ac78533edc6e94bf3bd3213
tree9c873cb21853766ebea8867842d0a566d42cf4b6
parentcc5b3096e12b051e89bc22f8b5ce5b64e2e9cadb
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