Texas Instruments TMS320C645x DSP Network Card User Manual


 
www.ti.com
2.10.8PromiscuousReceiveMode
EMACFunctionalArchitecture
WhenthepromiscuousreceivemodeisenabledbysettingtheRXCAFENbitintheRXMBPENABLE
register,non-addressmatchingframesthatwouldnormallybefilteredaretransferredtothepromiscuous
channel.Addressmatchingframesthatwouldnormallybefilteredduetoerrorsaretransferredtothe
addressmatchchannelwhenRXCAFENandRXCEFENbitsareset.Addressmatchingframeswiththe
filterbitset(MATCHFILT=0)arealwaysfilteredregardlessoftheRXCAFENandRXCEFENbitsetting.A
frameisconsideredtobeanaddressmatchingframeonlyifitisenabledtobereceivedonaunicast,
multicast,orbroadcastchannel.Framesreceivedtodisabledunicast,multicast,orbroadcastchannelsare
considerednon-addressmatching.
MACcontrolframesaddressmatchonlyifRXCMFENbitisset.RXCEFENandRXCSFENdetermine
whethererrorframesaretransferredtomemoryornot,buttheydonotdeterminewhethererrorframes
areaddressmatchingornot.Shortframesareaspecialtypeoferrorframes.
AsinglechannelisselectedasthepromiscuouschannelbytheRXPROMCHfieldintheRXMBPENABLE
register.ThepromiscuousreceivemodeisenabledbytheRXCMFEN,RXCEFEN,RXCSFEN,and
RXCAFENbitsinRXMBPENABLE.Table8showstheeffectsofthepromiscuousenablebits.Proper
framesareframesthatarebetween64andRXMAXLENbytesinlengthinclusiveandcontainnocode,
align,orCRCerrors.
Table8.ReceiveFrameTreatmentSummary
RXMBPENABLEBits
ADDRESSMATCHRXCAFENRXCEFENRXCMFENRXCSFENFrametreatment
00XXXNoframestransferred.
01000Properframestransferredtopromiscuous
channel.
01001Proper/undersizeddataframestransferredto
promiscuouschannel.
01010Properdataandcontrolframestransferredto
promiscuouschannel.
01011Proper/undersizeddataandcontrolframes
transferredtopromiscuouschannel.
01100Proper/oversize/jabber/code/align/CRCdata
framestransferredtopromiscuouschannel.No
controlorundersized/fragmentframesare
transferred.
01101Proper/undersized/fragment/oversize/jabber/cod
e/align/CRCdataframestransferredto
promiscuouschannel.Nocontrolframesare
transferred.
01110Proper/oversize/jabber/code/align/CRCdataand
controlframestransferredtopromiscuous
channel.Noundersizedframesaretransferred.
01111Allnon-addressmatchingframeswithand
withouterrorstransferredtopromiscuous
channel.
1X000Properdataframestransferredtoaddress
matchchannel.
1X001Proper/undersizeddataframestransferredto
addressmatchchannel.
1X010Properdataandcontrolframestransferredto
addressmatchchannel.
1X011Proper/undersizeddataandcontrolframes
transferredtoaddressmatchchannel.
1X100Proper/oversize/jabber/code/align/CRCdata
framestransferredtoaddressmatchchannel.
Nocontrolorundersizedframesaretransferred.
SPRU975BAugust2006EthernetMediaAccessController(EMAC)/ManagementDataInput/Output(MDIO)53
SubmitDocumentationFeedback