RE: bit ordering on XSBI vs SFI-4
There is a reason why it is important to preserve the Ethernet bit order as
LSB first. The Ethernet CRC provides absolute protection against error
bursts of 32 bits or less. That is, if 32 contiguous bits (as seen by the
CRC generator) are errored, the CRC will not match the packet contents. For
longer bursts, there is one chance in 2^32 that the error will be
undetected. If you reverse the order of bits in sets of 16 bits, then you
reduce the burst protection. Imagine the case where the first bit hit by the
burst is the last transmitted bit of a set of 16. Call that bit 1 and number
bits that went through the CRC generator consecutively from there. If the
burst hits a bit beyond bit 32, then in may produce an undetectable error.
What we would be transmitting if we reverse the bit order is:
16, 15, 14, ..., 2, 1, 32, 31, .... 18, 17, 33
Reversing the bit order reduces burst protection from 32 bits to 17 bits.
We should not make the change you suggest. Clause 51 shouldn't care whether
the MAC considers a bit as the MSB or the LSB. It should just send the bits
it gets in the primitive tx-data-group<15:0> with tx-data-group<0> sent
From: Jscquake@xxxxxxx [mailto:Jscquake@xxxxxxx]
Sent: Friday, March 23, 2001 3:49 PM
Cc: pat_thaler@xxxxxxxxxxx; tom_alexander@xxxxxxxxxxxxxx
Subject: bit ordering on XSBI vs SFI-4
As the clause editor for clause 51, I have received feedback that the
bit ordering for the XSBI interface, i.e. LSB sent first, will cause
confusion to people that have used the SFI-4/SONET modules.
Background on this topic ... an OC192 serial stream has the MSB bit first
while Ethernet networks have the LSB bit sent first. Early 802.3ae
discussions, we decided to leave the LSB bit order as is so that the PCS
(clause 49) to XSBI will have no inversions. This leaves the WIS (clause
to do the inversion. This is
the present status of draft 802.3ae rev 3.0.
The concern is that system people will be confused by the fact that XSBI
modules and SFI-4 modules have "reversed" ordering AND if they are not
careful the PCB layout will be reversed.
To reduce this risk, a change that CAN be made to make the XSBI bit ordering
consistent w/ SFI-4 and also send the MSB bit out first. This would result
1) clause 51 - reverse the order to MSB bit out first
2) clause 50 - remove section on reversing the bits from the PCS
3) clause 49 - "modify/add" section to send out the data with MSB bit first
My request to the reflector is to give some guidance here on the direction
a change or none change.
Comments please. Thanks in advance.
Quake Technologies, Inc.
2880 Zanker Road, Suite 104
San Jose, CA 95134
Tel: 408-922-6888 x108