Skip to content

Commit

Permalink
[portsorch] Enable port-level buffer drop counters (sonic-net#1237)
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Allen <daall@microsoft.com>
  • Loading branch information
daall committed Apr 3, 2020
1 parent d6236b5 commit ae1daf3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions orchagent/portsorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ const vector<sai_port_stat_t> 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<sai_queue_stat_t> queue_stat_ids =
Expand Down

0 comments on commit ae1daf3

Please sign in to comment.