net: openvswitch: add masks cache hit counter
authorEelco Chaudron <echaudro@redhat.com>
Fri, 31 Jul 2020 12:20:56 +0000 (14:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Aug 2020 22:17:48 +0000 (15:17 -0700)
commit9d2f627b7ec9d5d3246b6cec17f290ee6778c83b
tree79d4b5e7a6a6f7c49a37585c3b685788ed68e5fd
parentd6526926de7397a97308780911565e31a6b67b59
net: openvswitch: add masks cache hit counter

Add a counter that counts the number of masks cache hits, and
export it through the megaflow netlink statistics.

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/datapath.h
net/openvswitch/flow_table.c
net/openvswitch/flow_table.h