Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

  • Get from Mellanox the appropriate version of the firmware to start with. For our ConnectX2 NICs (as of December 2012) this file is in ~ouster/samba/mellanox/fw-ConnectX2-rel.mlx.
  • This file needs to be combined with an appropriate .ini file.  First, fetch the existing .ini file from the NIC:

    No Format

        flint

    -d

    /dev/mst/mt26428_pci_cr0

    dc > mt26428.ini

    dc > MT_0DD0120009.ini

    Check /dev/mst to verify the file name there.  In this case the .ini file is named after the board_id printed by ibv_devinfo (we have two different board ids, which have different .ini files (though they use the same .mlx file).

  • Edit the .ini file to add a new qp_minimal_timeout_val parameter with a value of zero. It goes in the HCA section, like this:

    No Format
    [HCA]
    hca_header_device_id = 0x673c
    hca_header_subsystem_id = 0x0018
    dpdp_en = true
    eth_xfi_en = true
    mdio_en_port1 = 0
    qp_minimal_timeout_val = 0
  • Generate a new image from the .mlx file and the .ini file:
        mlxburn -fw fw-ConnectX2-rel.mlx -conf MT_0DD0120009.ini -wrimage MT_0DD0120009.bin
  • Upload the image into the NIC:
        flint -d /dev/mst/mt26428_pci_cr0 -i MT_0DD0120009.bin -y  b
  • Beware: if different NICs have different board ids, they will need different .ini files, and they may need different .mlx files (ask Mellanox for help).