]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcc5b3096e12b051e89bc22f8b5ce5b64e2e9cadb
tree79d4b5e7a6a6f7c49a37585c3b685788ed68e5fd
parent0eb626ab6fe391ec8759939f36614b80aeabfce9
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