The count of received multicast packets has been computed internally,
but not exposed to ovsdb. Fix this.

Signed-off-by: David Marchand <[email protected]>
---
Strictly speaking, nothing was broken so I put no Fixes: tag.
However, this is probably something we should backport to enhance
exposed stats.

---
 vswitchd/bridge.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index 25ce45e3dc..d0667f229d 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")     \
-- 
2.38.1

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to