Texas Instruments TMS320DM643x DMP Switch User Manual


 
www.ti.com
5.27ReceiveChannel0-7FreeBufferCountRegister(RXnFREEBUFFER)
EthernetMediaAccessController(EMAC)Registers
Thereceivechannel0-7freebuffercountregister(RXnFREEBUFFER)isshowninFigure53and
describedinTable52.
Figure53.ReceiveChannelnFreeBufferCountRegister(RXnFREEBUFFER)
3116
Reserved
R-0
150
RXnFREEBUF
WI-0
LEGEND:R=Readonly;WI=Writetoincrement;-n=valueafterreset
Table52.ReceiveChannelnFreeBufferCountRegister(RXnFREEBUFFER)FieldDescriptions
BitFieldValueDescription
31-16Reserved0Reserved
15-0RXnFREEBUF0-FFhReceivefreebuffercount.Thesebitscontainthecountoffreebuffersavailable.The
RXFILTERTHRESHvalueiscomparedwiththisfieldtodetermineiflowpriorityframesshouldbe
filtered.TheRXnFLOWTHRESHvalueiscomparedwiththisfieldtodetermineifreceiveflow
controlshouldbeissuedagainstincomingpackets(ifenabled).Thisisawrite-to-incrementfield.
Thisfieldrollsoverto0onoverflow.
IfhardwareflowcontrolorQOSisused,thehostmustinitializethisfieldtothenumberofavailable
buffers(oneregisterperchannel).TheEMACdecrementstheassociatedchannelregisterforeach
receivedframebythenumberofbuffersinthereceivedframe.Thehostmustwritethisfieldwith
thenumberofbuffersthathavebeenfreedduetohostprocessing.
SPRU941AApril2007EthernetMediaAccessController(EMAC)/93
ManagementDataInput/Output(MDIO)
SubmitDocumentationFeedback