0 Replies Latest reply on Dec 20, 2013 2:05 PM by bjxt

    Issues with 82599 connected via XAUI

    bjxt

      Hi,

           We have a custom board with 82599 connected to one of our processors directly by XAUI. The 82599 is also connected via PCIe to a linux x86 box. We are currently using our own driver for 82599, but we are not able to see the link up or see any packets on the other end.

      Also, 82599 is connected to a blank EEPROM, so all the register values are at default values in the beginning. ( I don't think we can use the ixgbe driver because it heavily relies on EEPROM settings )

      Setting the device in Tx->Rx loopback mode, we are able to see packets on the Rx side. So, things like DMA, Tx/Rx rings etc.. are all working properly.

       

      My doubt is about the XAUI link part which seems very difficult to debug.

       

      The following things are done during driver load :

      1. Soft reset (resets the registers to default values)
      2. In AUTOC, the following bits are set
        1. FLU = 1b (Force Link Up)
        2. ANSF = 1b (Auto-Neg selector field)
        3. 10G_PMA_PMD_PARALLEL  = 0 (XAUI)
        4. LMS = 001b (10 GbE parallel link KX4 no back-plane autonegotiation)
        5. KR_SUPPORT = 1b (default value)
        6. FECA = 1b (FEC Detect Ability, default value)
        7. ARNXAT = 11b (Backplane Auto-Negotiation Rx Align Threshold, default)
        8. ANRXDM = 1b (Auto-Negotiation Rx Drift Mode, default)
        9. ANRXLM = 1b (Auto-Negotiation Rx Loose Mode, default)
        10. KX_SUPPORT = 11b (default)
      3. And then AUTOC.Restart_AN is set
      4. I'm not seeing LINKS[Link Up]. So I manually set AUTOC[FLU] = 1 (Force Link Up)

       

      I can't see any packets on both sides. My question is is any of those steps wrong? Any suggestions on what I can do next? Also, is it possible to get ixgbe to work with this setup?

       

      Thanks,

      Biju