summaryrefslogtreecommitdiff
path: root/vswitchd
diff options
context:
space:
mode:
authorDavid Marchand <david.marchand@redhat.com>2022-11-09 21:31:50 +0100
committerIlya Maximets <i.maximets@ovn.org>2022-11-24 13:38:08 +0100
commitc6062d107716e6bf84f8106b0806ee73ba7207a3 (patch)
treedbcbb145ea00f539809d52b83997811c9e28f17c /vswitchd
parent8b3c86897d6a114a099255997bb74f12a735d9fb (diff)
downloadopenvswitch-c6062d107716e6bf84f8106b0806ee73ba7207a3.tar.gz
vswitchd: Publish per iface received multicast packets.
The count of received multicast packets has been computed internally, but not exposed to ovsdb. Fix this. Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Mike Pattrick <mkp@redhat.com> Acked-by: Michael Santana <msantana@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'vswitchd')
-rw-r--r--vswitchd/bridge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index 25ce45e3d..d0667f229 100644
--- a/vswitchd/bridge.c
+++ b/vswitchd/bridge.c
@@ -2619,6 +2619,7 @@ iface_refresh_stats(struct iface *iface)
IFACE_STAT(tx_512_to_1023_packets, "tx_512_to_1023_packets") \
IFACE_STAT(tx_1024_to_1522_packets, "tx_1024_to_1522_packets") \
IFACE_STAT(tx_1523_to_max_packets, "tx_1523_to_max_packets") \
+ IFACE_STAT(multicast, "rx_multicast_packets") \
IFACE_STAT(tx_multicast_packets, "tx_multicast_packets") \
IFACE_STAT(rx_broadcast_packets, "rx_broadcast_packets") \
IFACE_STAT(tx_broadcast_packets, "tx_broadcast_packets") \