Texas Instruments TMS320TCI648x Network Card User Manual


 
www.ti.com
5.72PortErrorandStatusCSRn(SPn_ERR_STAT)
SRIORegisters
Eachofthefourportsissupportedbyaregisterofthistype(seeTable146).Theporterrorandstatus
CSRn(SPn_ERR_STAT)isshowninFigure135anddescribedinTable147.
Table146.SPn_ERR_STATRegistersandtheAssociatedPorts
RegisterAddressOffsetAssociatedPort
SP0_ERR_STAT1158hPort0
SP1_ERR_STAT1178hPort1
SP2_ERR_STAT1198hPort2
SP3_ERR_STAT11B8hPort3
Figure135.PortErrorandStatusCSRn(SPn_ERR_STAT)
3127262524
OUTPUT_OUTPUT_OUTPUT_
ReservedPKT_FLD_DEGRD_
DROPENCENC
R-0R/W-0R/W-0R/W-0
23212019181716
OUTPUT_OUTPUT_OUTPUT_OUTPUT_
OUTPUT_
ReservedRETRY_RETRY_ERROR_ERROR_
RETRIED
ENCSTPENCSTP
R-0R/W-0R-0R-0R/W-0R-0
15111098
INPUT_INPUT_INPUT_
ReservedRETRY_ERROR_ERROR_
STPENCSTP
R-0R-0R/W-0R-0
7543210
PORT_
PORT_PORT_PORT_
ReservedWRITE_Reserved
ERROROKUNINITIALIZED
PND
R-0R/W-0R-0R/W-0R-0R-1
LEGEND:R/W=Read/Write;R=Readonly;-n=Valueafterreset
Table147.PortErrorandStatusCSRn(SPn_ERR_STAT)FieldDescriptions
BitFieldValueDescription
31–27Reserved0Theseread-onlybitsreturn0swhenread.
26OUTPUT_PKT_DROPOutputpacketdrop(switchdevicesonly)
0Theoutputporthasnotdiscardedapacket.
1Theoutputporthasdiscardedapacket.
25OUTPUT_FLD_ENCOutputfailedconditionencountered.Onceset,theOUTPUT_FLD_ENCbit
remainssetuntilsoftwarewritesa1toit.
0Theoutputporthasnotencounteredafailedcondition.
1Theoutputporthasencounteredafailedcondition.Thefailedporterror
thresholdhasbeenreachedinthePortnErrorRateThresholdRegister.
24OUTPUT_DEGRD_ENCOutputdegradedconditionencountered.Onceset,the
OUTPUT_DEGRD_ENCbitremainssetuntilsoftwarewritesa1toit.
0Theoutputporthasnotencounteredadegradedcondition.
1Theoutputporthasencounteredadegradedcondition.Thedegradedport
errorthresholdhasbeenreachedinthePortnErrorRateThreshold
Register.
SPRUE13ASeptember2006SerialRapidIO(SRIO)203
SubmitDocumentationFeedback