• Raju Rangoju's avatar
    amd-xgbe: add support for rx-adaptation · 4f3b20bf
    Raju Rangoju authored
    The existing implementation for non-Autonegotiation 10G speed modes does
    not enable RX adaptation in the Driver and FW. The RX Equalization
    settings (AFE settings alone) are manually configured and the existing
    link-up sequence in the driver does not perform rx adaptation process as
    mentioned in the Synopsys databook. There's a customer request for 10G
    backplane mode without Auto-negotiation and for the DAC cables of more
    significant length that follow the non-Autonegotiation mode. These modes
    require PHY to perform RX Adaptation.
    
    The proposed logic adds the necessary changes to Yellow Carp devices to
    ensure seamless RX Adaptation for 10G-SFI (LONG DAC) and 10G-KR without
    AN (CL72 not present). The RX adaptation core algorithm is executed by
    firmware, however, to achieve that a new mailbox sub-command is required
    to be sent by the driver.
    Co-developed-by: default avatarShyam Sundar S K <Shyam-sundar.S-k@amd.com>
    Signed-off-by: default avatarShyam Sundar S K <Shyam-sundar.S-k@amd.com>
    Signed-off-by: default avatarRaju Rangoju <Raju.Rangoju@amd.com>
    Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
    4f3b20bf
xgbe-phy-v2.c 100 KB