Acknowledge a Failed Bank after a Power Cycle

Handling FPGA Images

Platform
Napatech SmartNIC
Content Type
User Guide
Capture Software Version
Link™ Capture Software 12.11

About this task

If an FPGA image fails during power-cycling, the SmartNIC state is automatically set to FAILED. This event must be acknowledged by the user.

Procedure

  1. To inspect a FAILED event on SmartNIC 0, write:
    /opt/napatech3/bin/imgctrl --adapter 0 --query
    An example of an output is:
    ...
    Adapter 0:
         PCI SLOT        : 0000:42:00.0
         PCI DEVICE ID   : 01D5
         PCI LANES       : x16
         ADAPTER TYPE    : NT50B01-01-NEBS-2x25-E3-FF-ANL 2x25Gb SFP28 platform
    RUNNING FPGA:
         FPGA IDENT      : 200-9541-47-07-0000
         DESCRIPTION     : 2x25/10Gb, capture
    FPGA BANK0:
         PRODUCT CODE    : 9541
         VERSION         : 35.20
         DOWNLOADED BY   : ntope
    FPGA BANK1:
         PRODUCT CODE    : 9541
         VERSION         : 47.07
         DOWNLOADED BY   : jmh
    SUPPORTCHIP INFO:
         NT50B01         : v3.5s
    FPGA IMAGE STATE:
         IMAGE STATE     : FAILED (code 3)
         PRIMARY BANK    : 1
         FAILED BANK     : 0
  2. To acknowledge the event, write:
    /opt/napatech3/bin/imgctrl --adapter 0 --switch --discard
    An example of an output is:
    Resetting bank switch statemachine back to neutral..
      OK. Adapter bank switch statemachine is reset back to neutral
  3. To check that the state is back to NEUTRAL, and that the primary image bank has changed, write:
    /opt/napatech3/bin/imgctrl --adapter 0 --query
    An example of an output is:
    ...
    Adapter 0:
         PCI SLOT        : 0000:42:00.0
         PCI DEVICE ID   : 01D5
         PCI LANES       : x16
         ADAPTER TYPE    : NT50B01-01-NEBS-2x25-E3-FF-ANL 2x25Gb SFP28 platform
    RUNNING FPGA:
         FPGA IDENT      : 200-9541-47-07-0000
         DESCRIPTION     : 2x25/10Gb, capture
    FPGA BANK0:
         PRODUCT CODE    : 9541
         VERSION         : 35.20
         DOWNLOADED BY   : ntope
    FPGA BANK1:
         PRODUCT CODE    : 9541
         VERSION         : 47.07
         DOWNLOADED BY   : jmh
    SUPPORTCHIP INFO:
         NT50B01         : v3.5s
    FPGA IMAGE STATE:
         IMAGE STATE     : NEUTRAL (code 0)
         PRIMARY BANK    : 1
         RUNNING BANK    : 1