EDM01-33v1 DAG_7.5G4_Card_User_Guide
40
©2008 Endace Technology Ltd. Confidential - Version 1 - November 2008
Situation 2
The ERF stream was generated with a CRC but the CRC must be correct on the retransmitted
packet.
In this case you should configure TR-TERF to strip the 32-bit CRC and configure the MAC to
add a hardware calculated CRC as in Configuration 1 above. This means even if the CRC is
incorrect in the received ERF stream, a correct CRC will be generated when the packet is
retransmitted.
Example
dagconfig terf_strip32 tx_crc
Situation 3
The ERF stream was generated with a CRC, and the CRC must be retransmitted exactly even
if it is incorrect.
In this case you should configure TR-TERF
not
to strip the CRC, and configure the MAC
not
to add a hardware-calculated CRC. This allows received packets with bad CRCs to be
retransmitted which may be a useful tool for testing or diagnostic purposes.
Example
dagconfig noterf_strip notx_crc
Retransmitting Errored Packets
In some circumstances it may not be desirable to retransmit packets which have been
incorrectly received for any reason. To allow for this, TR-TERF can be optionally configured
not to retransmit any packets marked with the
rxerror
(receive error) flag.
Usage Notes
The following points should be noted when using TR-TERF:
•
When using
dagflood
to transmit an ERF stream to the card you should set the "
-1
"
flag (maximum data burst length) to a value greater than the default of 1MB. During
testing Endace found a value of 16MB (16777216) to be effective. This reduces the
possibility of a buffer under-run occurring if insufficient data is committed in a burst
and the
dagflood
process is not scheduled by the OS to run in a timely manner.
•
For best accuracy when testing, you should ensure both the sending and receiving
cards are synchronized to the same time source.
TR TERF Known Issues
TR-TERF is less accurate when using multiple interfaces. If a large packet is transmitted to
the card on a particular interface, the transmit buffers for the other interfaces may experience
a buffer under-run. This is because data is only transferred to one interface at anyone time,
record by record as the input ERF stream is interleaved between interfaces.
This may be especially noticeable where very small packets are transmitted on one interface
and very large packets transmitted on another interface.
Содержание DAG 5.2X
Страница 1: ...DAG 7 5G4 Card User Guide EDM01 33...
Страница 12: ......
Страница 18: ......
Страница 64: ......
Страница 66: ......