]> 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)
commit442ad8fcfe46793f17295b573f49283ff0770d67
tree9c873cb21853766ebea8867842d0a566d42cf4b6
parenta7bc1dad81076715bb7c2a7ebe1f99fb06976d80
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