packet. When this occurs an interrupt is generated. The packet can be ended via generation of an FCS error, via an abort sequence, or via “fill” bytes inserted in the gap, depending upon a software configurable escape code.
•Maintains performance monitor counters.
3.8.1.1FCS Polynomial for LAPS Processing
The
check the FCS is
X32 + X26 + X23 + X22 + X16 + X12 + X11 + X10 + X8 + X7 + X5 + X4 + X2 + X + 1.
The FCS field is calculated over all bits of the Address, Control, Payload, Information and Padding fields, not including any octets inserted for transparency. This does not include the Flag Se- quences nor the FCS field itself.
The CRC generator and checker are initialized to all ones. Upon completion of the FCS calculation the FCS value is
3.8.1.2LAPS Scrambling
Scrambling is performed to pro- tect the SONET/SDH line against malicious users deliberately send- ing packets to cause long
3.8.2 GFP Processing
The Transmit GFP Processor pro- vides the insertion of packet- based information into the STS SPE. It provides packet encapsu- lation, FCS field generation,
•Counts the Ethernet frame length.
•Calculates the payload length field, (PLI).
•Performs XOR with values as shown in Figure 11.
•Generates and sends cHEC and XOR (Figure 11).
•Sends programmable TYPE values.
•Generates and sends tHEC.
•Sends programmable DP, SP, and SPARE.
•Generates and sends eHEC.
•Generates and sends optional FCS.
3.8.2.1FCS Polynomial for GFP Processing
The
check the FCS is
X32 + X26 + X23 + X22 + X16 + X12 + X11 + X10 + X8 + X7 + X5 + X4 + X2 + X + 1.
The FCS field is calculated over the GFP payload, excluding all headers. The CRC generator and checker are initialized to all ones. Upon completion of the FCS cal- culation the FCS value is
3.8.2.2HEC Polynomial for GFP Processing
The following polynomial is used for generating and checking the
HECs:
X16 + X12 + X5 + 1
An HEC is calculated over each header. The initial value of the CRC registers is zero and the HEC is not inverted before being sent.
23