aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/uapi
diff options
context:
space:
mode:
authorEelco Chaudron <echaudro@redhat.com>2020-07-31 14:21:34 +0200
committerDavid S. Miller <davem@davemloft.net>2020-08-03 15:17:48 -0700
commit9bf24f594c6acf676fb8c229f152c21bfb915ddb (patch)
tree9c873cb21853766ebea8867842d0a566d42cf4b6 /include/uapi
parentnet: openvswitch: add masks cache hit counter (diff)
downloadwireguard-linux-9bf24f594c6acf676fb8c229f152c21bfb915ddb.tar.xz
wireguard-linux-9bf24f594c6acf676fb8c229f152c21bfb915ddb.zip
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>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/openvswitch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/openvswitch.h b/include/uapi/linux/openvswitch.h
index 7cb76e5ca7cf..8300cc29dec8 100644
--- a/include/uapi/linux/openvswitch.h
+++ b/include/uapi/linux/openvswitch.h
@@ -86,6 +86,7 @@ enum ovs_datapath_attr {
OVS_DP_ATTR_MEGAFLOW_STATS, /* struct ovs_dp_megaflow_stats */
OVS_DP_ATTR_USER_FEATURES, /* OVS_DP_F_* */
OVS_DP_ATTR_PAD,
+ OVS_DP_ATTR_MASKS_CACHE_SIZE,
__OVS_DP_ATTR_MAX
};