Add port FEC histogram counter support.#1617
Conversation
|
please fix errors |
6556131 to
b0f42cc
Compare
|
Meta checker errors fixed |
b0f42cc to
d7a4c4f
Compare
8caa10b to
4c5578c
Compare
|
@prgeor , please help review? thx. |
|
@JaiOCP please review as well |
|
can we have code example how these attributes are used? |
|
@lguohan is there anything in particular you'd like to see? The SAI_PORT_STAT_IF_IN_FEC_CODEWORD_ERRORS_HISTOGRAM_* are accessed in the same way as all the rest of the port counters. SAI_PORT_ATTR_MAX_FEC_ERRORS_DETECTABLE could be used to determine the number of counters to collect if desired. |
77635dd to
fb4e92a
Compare
fb4e92a to
0d97921
Compare
example code of how a NOS should read and interpret it. |
Signed-off-by: Mike Beresford <[email protected]>
0d97921 to
c96e930
Compare
Signed-off-by: Mike Beresford [email protected]