From ae1daf33baec7dd5bbd0a3ad60648c175fef037e Mon Sep 17 00:00:00 2001 From: Danny Allen Date: Fri, 3 Apr 2020 09:52:15 -0700 Subject: [PATCH] [portsorch] Enable port-level buffer drop counters (#1237) Signed-off-by: Danny Allen --- orchagent/portsorch.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/orchagent/portsorch.cpp b/orchagent/portsorch.cpp index e98bff1ed8..b8f243eeb8 100755 --- a/orchagent/portsorch.cpp +++ b/orchagent/portsorch.cpp @@ -114,6 +114,8 @@ const vector port_stat_ids = SAI_PORT_STAT_ETHER_STATS_TX_NO_ERRORS, SAI_PORT_STAT_IP_IN_UCAST_PKTS, SAI_PORT_STAT_ETHER_IN_PKTS_128_TO_255_OCTETS, + SAI_PORT_STAT_IN_DROPPED_PKTS, + SAI_PORT_STAT_OUT_DROPPED_PKTS, }; static const vector queue_stat_ids =