NT200A01-2×100

Handling FPGA Images

product_line_custom
Napatech SmartNIC
category
User Guide

Container package

The .ntimg container package for the NT200A01-2×100 SmartNIC contains:
  • A capture/replay .ntimg container package
  • A capture .ntimg container package
  • An index file

The content of the index file is fixed. It controls that the capture/replay image is in image bank 0 and the capture image is in image bank 1. It also controls which image is the primary image by default.

Default image

By default the SmartNIC runs on the image in bank 0, which is the capture/replay image.

This is an example of an output from a --query command on a SmartNIC in default mode.
/imgctrl --adapter 1 --query
imgctrl v3.5.5.1-f24b1 (Sep 12 2017 08:02:15) (Logfile: /tmp/imgctrl.log)
Scanning for Napatech adapters..
Adapter 1:
     PCI SLOT        : 0000:84:00.0
     PCI DEVICE ID   : 01A5
     PCI LANES       : x8x8
     ADAPTER TYPE    : NT200A01-02-SCC-2x100-E3-FF-ANL 2x100Gb QSFP28 platform
RUNNING FPGA:
     FPGA IDENT      : 200-9516-09-08-0000
FPGA BANK0:
     PRODUCT CODE    : 9516
     VERSION         : 9.08
     DOWNLOADED BY   : ntope
FPGA BANK1:
     PRODUCT CODE    : 9515
     VERSION         : 9.08
     DOWNLOADED BY   : ntope
SUPPORTCHIP INFO:
     NT200E3_2_PTP   : v3.5f
FPGA IMAGE STATE:
     IMAGE STATE     : NEUTRAL (code 0)
     PRIMARY BANK    : 0
     RUNNING BANK    : 0

Switching to capture operation

The NT200A01-2×100 SmartNIC can be switched from capture/replay operation to capture operation as shown in this example:
$ imgctrl --switch --adapter 1
$ imgctrl --switch --confirm --adapter 1
Note: ×8×8 bifurcation mode must be enabled for the PCIe slot in question. Otherwise, the --pcix8 argument must be issued with the --switch command.

The --switch command forces the SmartNIC to run on the capture image. The --switch --confirm command changes the primary image to the running image, that is the capture image in image bank 1.

This is an example of an output from a --query command after the --switch command above.
imgctrl --adapter 1 --query
imgctrl v3.5.5.1-f24b1 (Sep 12 2017 08:02:15) (Logfile: /tmp/imgctrl.log)
Scanning for Napatech adapters..
Adapter 1:
     PCI SLOT        : 0000:84:00.0
     PCI DEVICE ID   : 01A5
     PCI LANES       : x8x8
     ADAPTER TYPE    : NT200A01-02-SCC-2x100-E3-FF-ANL 2x100Gb QSFP28 platform
RUNNING FPGA:
     FPGA IDENT      : 200-9515-09-08-0000
FPGA BANK0:
     PRODUCT CODE    : 9516
     VERSION         : 9.08
     DOWNLOADED BY   : ntope
FPGA BANK1:
     PRODUCT CODE    : 9515
     VERSION         : 9.08
     DOWNLOADED BY   : ntope
SUPPORTCHIP INFO:
     NT200E3_2_PTP   : v3.5f
FPGA IMAGE STATE:
     IMAGE STATE     : NEUTRAL (code 0)
     PRIMARY BANK    : 1
     RUNNING BANK    : 1