Skip to content

Commit

Permalink
[PortOrch] Add FEC codeword errors in port stats (#3029)
Browse files Browse the repository at this point in the history
[PortOrch] Add FEC codeword errors in port stats (#3029)
  • Loading branch information
vdahiya12 authored Feb 7, 2024
1 parent 77d56e6 commit 5fd896f
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion orchagent/portsorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,23 @@ const vector<sai_port_stat_t> port_stat_ids =
SAI_PORT_STAT_IP_IN_RECEIVES,
SAI_PORT_STAT_IF_IN_FEC_CORRECTABLE_FRAMES,
SAI_PORT_STAT_IF_IN_FEC_NOT_CORRECTABLE_FRAMES,
SAI_PORT_STAT_IF_IN_FEC_SYMBOL_ERRORS
SAI_PORT_STAT_IF_IN_FEC_SYMBOL_ERRORS,
SAI_PORT_STAT_IF_IN_FEC_CODEWORD_ERRORS_S0,
SAI_PORT_STAT_IF_IN_FEC_CODEWORD_ERRORS_S1,
SAI_PORT_STAT_IF_IN_FEC_CODEWORD_ERRORS_S2,
SAI_PORT_STAT_IF_IN_FEC_CODEWORD_ERRORS_S3,
SAI_PORT_STAT_IF_IN_FEC_CODEWORD_ERRORS_S4,
SAI_PORT_STAT_IF_IN_FEC_CODEWORD_ERRORS_S5,
SAI_PORT_STAT_IF_IN_FEC_CODEWORD_ERRORS_S6,
SAI_PORT_STAT_IF_IN_FEC_CODEWORD_ERRORS_S7,
SAI_PORT_STAT_IF_IN_FEC_CODEWORD_ERRORS_S8,
SAI_PORT_STAT_IF_IN_FEC_CODEWORD_ERRORS_S9,
SAI_PORT_STAT_IF_IN_FEC_CODEWORD_ERRORS_S10,
SAI_PORT_STAT_IF_IN_FEC_CODEWORD_ERRORS_S11,
SAI_PORT_STAT_IF_IN_FEC_CODEWORD_ERRORS_S12,
SAI_PORT_STAT_IF_IN_FEC_CODEWORD_ERRORS_S13,
SAI_PORT_STAT_IF_IN_FEC_CODEWORD_ERRORS_S14,
SAI_PORT_STAT_IF_IN_FEC_CODEWORD_ERRORS_S15
};

const vector<sai_port_stat_t> gbport_stat_ids =
Expand Down

0 comments on commit 5fd896f

Please sign in to comment.