6.1 10GBASEKR Demo using Vitesse Link Partner and PolarFire Evaluation Board

The following figure shows the hardware setup.
Figure 6-1. Inter-op Setup of Vitesse LP and PolarFire Eval Board

Follow these steps to run the PolarFire 10GBASEKR loopback hardware demo design on the PolarFire Evaluation Board.

  1. Insert the copper cable to Finisar board using SFP module and connect the other end to Link Partner (LP)
  2. Connect the SMA cables from the PolarFire board to Finisar board as listed:
    1. J41 (TXP of PolarFire) -> TXP of Finisar SFP+ -> Copper cable -> Port 1 of VSC SparX-5i
    2. J42 (TXN of PolarFire) -> TXN of Finisar SFP+ -> Copper cable -> Port 1 of VSC SparX-5i
    3. J37 (RXP of PolarFire) -> RXP of Finisar SFP+ -> Copper cable -> Port 1 of VSC SparX-5i
    4. J38 (RXN of PolarFire) -> RXN of Finisar SFP+ -> Copper cable -> Port 1 of VSC SparX-5i

      Using optical fiber cable loop back from port 1 to port 2. (In this demo, it is Port //1/2.)

  3. Connect the USB to serial converter cable from Link partner to host PC
  4. Open the associated serial terminal of LP and PolarFire board to control and monitor the status
  5. Program the PolarFire board with the job file
  6. Configure the Link Partner to support in 10GBASEKR mode. Refer to the Link Partner user manual for the commands.
  7. Enter the following commands:
    Terminal in Link Partner
    # show interface 10GigabitEthernet 1/1 status details clause-73
    10GigabitEthernet 1/1:
    Configuration
      Desription:
      Mode:                    Enabled
      Speed/Duplex:            Forced Clause 73
      Media-type:              SFP
      Flowcontrol:             Off
      Priority-based F/C:    
      Max. Frame:              10240 bytes
      Excessive Collision:     Discard
      Frame Length Check:      Disabled
      FEC Mode:                Auto
    Status:
      Aneg:                    Yes (C173)
      Link:                    10Gfdx
      Operational Warnings:    None
      FEC Mode:                None 
      SFP Family:              10G DAC
      SFP Vendor Name:         CISCO
      SFP Vendor P/N:          SPT-SFP+C1
      SFP Vendor S/N:          201110127104 
      SFP Vendor Revision:     N
      SFP Date Code:           11101200
      SFP Transceiver:         10GBASEKR
    Clause 73 Aneg Status:
      Completed:               Yes
      Time since start:        24 seconds
      Training complete:       Yes
      Training time:           2347 ms
       CM OB tap (7-bit signed): -2 (126)
       CP OB tap (7-bit signed): -3 (125)
       C0 OB tap (7-bit signed): +22 (22)
    

    Once Auto-Negotiation and Link Training is done, the link is considered as established. The status of the link is observed in the terminal console of the Link Partner and in the UART terminal connected to PolarFire Evaluation Kit.

    Terminal in PolarFire Evaluation board
    *** Core10GBaseKR PHY ***
    Starting Auto-Negotiation!!
    LT Link Established!!
    Link: Good!!
    Packet Testing:
             Total packets (msb): 0
             Total packets (lsb): 42745121
             Good packets (msb):  0
             Good packets (lsb):  42745105
             Bad packets (msb):   0
             Bad packets (lsb):   0
    
    

Traffic Test

Continuous traffic is sent from the PolarFire Evaluation Kit to the Link Partner. The Link Partner then loops back the same data and sends it back to the PolarFire Evaluation Kit. The following command shows the LP data statistics.

 # show interface 10GigabitEthernet 1/1 statistics:
10GigabitEthernet 1/4 Statistics:
Rx Packets:              253434502 Tx Packets:              253434502       
Rx Octets:               65892970520           Tx Octets:               65892970520
Rx Unicast:              253434502             Tx Unicast:              253434502
Rx Multicast:            0                     Tx Multicast:            0
Rx Broadcast:            0                     Tx Broadcast:            0
Rx Pause:                0                     Tx Pause:                0

Rx 64:                   0                     Tx 64:                   0
Rx 65-127:               0                     Tx 65-127:               0
Rx 128-255:              0                     Tx 128-255:              0
Rx 256-511:              253434502             Tx 256-511:              253434502
Rx 512-1023:             0                     Tx 512-1023:             0
Rx 1024-1518:            0                     Tx 1024-1518:            0
Rx 1519-    :            0                     Tx 1519-    :            0

Rx Priority 0:           253434502             Tx Priority 0:           253434502 
Rx Priority 1:           0                     Tx Priority 1:           0
Rx Priority 2:           0                     Tx Priority 2:           0
Rx Priority 3:           0                     Tx Priority 3:           0
Rx Priority 4:           0                     Tx Priority 4:           0
Rx Priority 5:           0                     Tx Priority 5:           0
Rx Priority 6:           0                     Tx Priority 6:           0
Rx Priority 7:           0                     Tx Priority 7:           0

Rx Drops:                0                     Tx Drops:                0
Rx CRC/Alignment:        0                     Tx Late/Exc. Coll.:      0
Rx Undersize:            0
Rx Oversize:             0
Rx Fragments:            0
Important: In the preceding data statistics generated by the PolarFire Evaluation board, the text in:
Orange
Represents the Received packets from PolarFire Evaluation Kit
Blue
Represents the Looped back packets from the Vitesse LP

The following command shows the PolarFire Evaluation board data statistics.

*** Core10GBaseKR PHY ***

Starting Auto-Negotiation!!
LT Link Established!! Link: Good!!
Packet testing:
     Total packets (msb):  0
     Total packets (lsb):  253434502
     Good packets (msb):   0
     Good packets (lsb):   253434502
     Bad packets (msb):    0
     Bad packets (lsb):    0
Important: In the preceding data statistics generated by the PolarFire Evaluation board, the text in:
Orange
Represents the Transmitted packets from PolarFire Evaluation Kit
Blue
Represents the Received packets from the Vitesse LP

The following figure shows the Eye diagram with LP.

Figure 6-2. Eye Diagram with LP

Break Link Test

The test is performed by pulling the Copper cable connected between PolarFire Evaluation board and Vitesse LP. In this case, the link will be lost. Once the cable is connected back, observe that the link is re-established.

The following command shows the break link results.
Link: Broken!!
Starting Auto-Negotiation!!
LT Link Established!! Link: Good!!
Packet Testing:
     Total packets (msb):  0
     Total packets (lsb):  167147494
     Good packets (msb):   0
     Good packets (lsb):   122898839
     Bad packets (msb):    0