[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [ethmac] what if DATA field is of size zero
Hi,
The simplest way to test for CRC is instantiate your MAC twice and
send from one to the other as the first Mac will probably generate crc on
the fly for the outgoing data and the second Mac will test it.
I assume you use the same crc polynom which is standard and so if it pass
you can be quite sure you are ok. also actualy the more "intresting" is the
packet extending that is "unique" for the 1G.
personaly I tested complient using if I recall right one of Intel MAC
behavioral code. you might want to check for this and see if any of there
vendor can get you there Behaviral code.
than you can build a environemnt which include your code as well as the
referance Mac and start sending data back and forth testing all the feature
you are supporting.
have a nice day
Illan
-----Original Message-----
From: Mike Pratt [mailto:mpratt@anr.mcnc.org]
Sent: Friday, January 17, 2003 7:35 AM
To: ethmac@opencores.org
Subject: Re: [ethmac] what if DATA field is of size zero
Hi all,
I am working on a GigE MAC ... using applicable parts of the opencores
10/100 MAC as a guide. Does anyone have some sample Ethernet packets
that would be suitable for testing this core? I am particularly
interested in checking that I have implemented crc correctly ... so they
must have valid crc fields! Thanks in advance for any assistance. Regards,
Mike
Igor Mohor(opencores) wrote:
>Opencores Ethernet MAC needs a minimum size of 5 bytes for proper
>functioning. By the standard it is between 64 and 1518.
>
>Regards,
> Igor
>
>
>
>
>
>>-----Original Message-----
>>From: owner-ethmac@opencores.org [mailto:owner-ethmac@opencores.org]
>>
>>
>On
>
>
>>Behalf Of Kevin Kay
>>Sent: Thursday, January 16, 2003 2:32 PM
>>To: ethmac@opencores.org
>>Subject: RE: [ethmac] what if DATA field is of size zero
>>
>>A minimum legal packet length is 64 bytes. If you control your entire
>>network, then I guess you can run just about any length packet you
>>
>>
>wish (0
>
>
>>length data field all the way to a jumbo packets of 64kbytes or so).
>>However, if it's going to be on an open network, then the acceptable
>>packet lengths are between 64 and 1518 bytes.
>>
>>Regards,
>>Kevin
>>
>>-----Original Message-----
>>From: Mohan Krishna [mailto:mkrishna@tataelxsi.co.in]
>>Sent: Thursday, January 16, 2003 7:35 AM
>>To: ethmac@opencores.org
>>Subject: [ethmac] what if DATA field is of size zero
>>
>>
>>Hi all,
>>
>>Can any one clarify me wether it is possible for the data field be of
>>size zero.
>>if so then if there is an option to disable padding in the transmitter
>>then what is the expected behavior of the receiver.
>>
>>Thanks in advance
>>
>>--
>>To unsubscribe from ethmac mailing list please visit
>>http://www.opencores.org/mailinglists.shtml
>>--
>>To unsubscribe from ethmac mailing list please visit
>>http://www.opencores.org/mailinglists.shtml
>>
>>
>
>--
>To unsubscribe from ethmac mailing list please visit
http://www.opencores.org/mailinglists.shtml
>
>
>
--
Mike Pratt
Network Hardware Engineer
Advanced Networking Research, MCNC
mpratt@anr.mcnc.org
ph: (919) 248-4173
--
To unsubscribe from ethmac mailing list please visit
http://www.opencores.org/mailinglists.shtml
--
To unsubscribe from ethmac mailing list please visit http://www.opencores.org/mailinglists.shtml