Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable fabric counter for syncd's FlexCounter (sonic-net#669)
New SAI version provides more counters for fabric ports. Extend the supported counter list to cover those counters. /** SAI port stat if in FEC correctable pkts */ SAI_PORT_STAT_IF_IN_FEC_CORRECTABLE_FRAMES, /** SAI port stat if in FEC not correctable pkts */ 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, /** Fabric port stat in data units */ SAI_PORT_STAT_IF_IN_FABRIC_DATA_UNITS, /** Fabric port stat out data units */ SAI_PORT_STAT_IF_OUT_FABRIC_DATA_UNITS, /** Port stat in drop reasons range start */ SAI_PORT_STAT_IN_DROP_REASON_RANGE_BASE = 0x00001000, Signed-off-by: ngocdo <ngocdo@arista.com>
- Loading branch information