Texas Instruments TMS320TCI648x Network Card User Manual


 
www.ti.com
SRIOFunctionalDescription
Table18.RXBufferDescriptorFieldDescriptions(continued)
FieldDescription
ownershipOwnership:Indicatesownershipofthemessageandisvalidonlyonsop.Thisbitisset
bytheDSPcoreandclearedbytheportwhenthemessagehasbeentransmitted.The
DSPcoreusesthisbittoreclaimbuffers.
0:ThemessageisownedbytheDSPcore
1:Themessageisownedbytheport
eoqEndOfQueue:SetbytheporttoindicatethattheRXqueueemptyconditionexists.
Thisbitisvalidonlyoneop.Theportdeterminestheendofqueueconditionbyazero
next_descriptor_pointer.
0:TheRXqueuehasmorebuffersavailableforreception.
1:TheDescriptorbufferisthelastbufferinthelastmessageinthequeue.
teardown_completeTeardownComplete:Setbytheporttoindicatethatthehostcommandedteardown
processiscomplete,andthechannelbuffersmaybereclaimedbythehost.
0:Theporthasnotcompletedtheteardownprocess.
1:Theporthascompletedthecommandedteardownprocess.
message_lengthMessageLength:InitiallywrittenbytheDSPcoretospecifythemaximumnumberof
double-wordsthebuffercanreceive.Updatedbytheperipheral(afterreceivinga
message)toindicatetheactualnumberofdouble-wordsintheentiremessage.
Messagepayloadsarelimitedtoamaximumsizeof512double-words(4096bytes).
000000000b:512doublewords
000000001b:1doubleword
000000010b:2doublewords
...
111111111b:511doublewords
src_idSourceNodeID:Uniquenodeidentifierofthesourceofthemessage.Writtenbythe
DSPcore.
ttRapidIOttfieldspecifying8-or16-bitDeviceIDs.WrittenbytheDSPcore.
00b:8-bitdeviceIDs
01b:16-bitdeviceIDs
10:reserved
11:reserved
priMessagePriority:SpecifiestheSRIOpriorityatwhichthemessagewassent.Written
bytheDSPcore.
ccCompletionCode:Writtenbytheport.
000:Goodcompletion.Messagereceived.
001:Error,RXmessagelengthgreaterthansupportedbufferdescriptor
message_length
010:Error,TimeOutonreceivingoneofthesegments
011:DMAtransfererrorononeormoresegments
100:Queueteardowncompleted,datainvalid
101:111Reserved
mailboxDestinationMailbox:Specifiesthemailboxtowhichthemessagewassent.Writtenby
theDSPcore.
000000b:Mailbox0
000001b:Mailbox1
...
000100b:Mailbox4
...
111111b:Mailbox63
Formulti-segmentmessages,onlythetwoLSBsofthismailboxarevalid.Hardware
ignoresthefourMSBsiftheincomingmessagehasmultiplesegments.
SerialRapidIO(SRIO) 48SPRUE13ASeptember2006
SubmitDocumentationFeedback