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 authored and abdosi committed Apr 7, 2020
1 parent 1e29fa4 commit dc63525
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 @@ -111,6 +111,8 @@ const vector<sai_port_stat_t> portStatIds =
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> queueStatIds =
Expand Down

0 comments on commit dc63525

Please sign in to comment.