Query Mode

Handling FPGA Images

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

Description

Inquiring the system for information about NT SmartNICs is a passive probing of FPGA and firmware version as well as flash bank information. It does not alter the state of any SmartNICs.

The output from a --query -vv command (see Syntax for the imgctrl Tool) is useful information for Napatech support personnel in assisting with any troubles you may encounter. -vv displays an output containing more detailed information.

The --query command can also be executed with a --brief argument which condenses the SmartNIC information to a one-line version.

Command example 1

This is an example of a --query command.

$ imgctrl --query

Output example 1

This is an example of an output from the --query command in Command example 1.

...
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-35-20-0000
     DESCRIPTION     : 2x25/10Gb, capture
FPGA BANK0:
     PRODUCT CODE    : 9541
     VERSION         : 35.20
     DOWNLOADED BY   : ntope
FPGA BANK1:
     PRODUCT CODE    : 9541
     VERSION         : 35.20
     DOWNLOADED BY   : ntope
SUPPORTCHIP INFO:
     NT50B01         : v3.5s
FPGA IMAGE STATE:
     IMAGE STATE     : NEUTRAL (code 0)
     PRIMARY BANK    : 0
     RUNNING BANK    : 0
This information provides the version of the currently running FPGA on each SmartNIC. SmartNIC 0, for example, is a PCI Express Gen3 2 × 100 Gbit/s SmartNIC running FPGA 9516 version 9.08. The primary bank for SmartNIC 0 is bank 0, and no switch event is currently pending, since the SmartNIC is in the NEUTRAL state (see NEUTRAL state). This means that on the next reboot or power cycle, bank 0 continues to be the primary bank.
Note: This SmartNIC supports PCIe bifurcation with 2 × 8-lanes PCIe device endpoints. Furthermore, the SmartNIC supports two different FPGA images, the capture/replay image 9516 in FPGA bank 0 and the capture image 9515 in FPGA bank 1.

Command example 2

This is an example of a --query command.

$ imgctrl --query --brief

Output example 2

This is an example of an output from the --query command in Command example 2.

...
ADAPTER 0: PCI:0000:42:00.0 DEVICE:NT50B01-01-NEBS    RUNNING FPGA:200-9541-35-20-0000

Command example 3

This is an example of a --query command.

$ imgctrl --query --log

Output example 3

This is an example of an output from the --query command in Command example 3.

...
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
SUPPORTCHIP LOG:

     ---------------------------------------------------------------------------
     sn                       :   0000262512
     vpd psu_hw_version       :   24
     vpd pn                   :   82500050110
     vpd pba                  :   0730142010201
     vpd productFamily        :   03
     vpd featureMask          :   0x00008B28
     vpd invfeatureMask       :   0xFFFF74D7
     vpd noOfMacs             :   02
     vpd macAddress           :   00.0D.E9.08.2A.F7
     vpd customId             :   0x0000
     vpd sysControl           :   0x00
     SMB-8bit-broadcast-adr   :   0xC2
     SMB-8bit-slave-adr       :   0xFE
     SMB-8bit-nvm-slave-adr   :   0xFE
     pcb hw version           :   01
     platform                 :   NT50B01
     version                  :   v3.5s
     log version              :   10
     psu version              :   07 00
     pci bridge count         :   0
     pci device count         :   1
     uptime          [seconds]:   6025
     total runtime     [hours]:   3147
     warm reset count         :   7
     cold reset count         :   10
     write index              :   43
     read  index              :   0

     entry  event       unit  data  description
     ---------------------------------------------------------------------------
         0    128  [125MSEC]  2390  EVENT_POWER_ON_RECORD_LAST_TOTAL_RUNTIME
         1    129  [    1MS]     0  EVENT_LOG_FORCED_ERASED
         2    128  [    1MS]     0  EVENT_POWER_ON_RECORD_LAST_TOTAL_RUNTIME
         3    138  [125MSEC]    26  EVENT_FPGA_LOAD_DONE
         4    139  [125MSEC]   192  EVENT_FPGA_IMAGE_CHANGE_ARMED
         5    138  [125MSEC]    42  EVENT_FPGA_LOAD_DONE
         6    138  [125MSEC]    60  EVENT_FPGA_LOAD_DONE
         7    128  [    1MS]     0  EVENT_POWER_ON_RECORD_LAST_TOTAL_RUNTIME