NT200A02-2x40/8x10

Handling FPGA Images

product_line_custom
Napatech SmartNIC
category
User Guide

Container package

The .ntimg container package for the NT200A02-2x40/8x10 SmartNIC contains:
  • A 2 × 40 Gbit/s .ntimg container package
  • An 8 × 10 Gbit/s .ntimg container package
  • An index file

The content of the index file is fixed. It controls that the 2 × 40 Gbit/s image is in image bank 0 and the 8 × 10 Gbit/s 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 2 × 40 Gbit/s image.

This is an example of an output from a --query command on a SmartNIC in default mode.
imgctrl --adapter 0 --query
imgctrl v3.7.6.3-92b5a (Apr 30 2019 17:03:09) (Logfile: /tmp/imgctrl.log)
Scanning for Napatech adapters..
Adapter 0:
     PCI SLOT        : 0000:04:00.0
     PCI DEVICE ID   : 01C5
     PCI LANES       : x16
     ADAPTER TYPE    : NT200A02-01-SCC-2x40/8x10-E3-FF-ANL 2x40Gb QSFP+ platform
RUNNING FPGA:
     FPGA IDENT      : 200-9526-20-04-0000
FPGA BANK0:
     PRODUCT CODE    : 9526
     VERSION         : 20.04
     DOWNLOADED BY   : kje
FPGA BANK1:
     PRODUCT CODE    : 9533
     VERSION         : 20.04
     DOWNLOADED BY   : kje
SUPPORTCHIP INFO:
     NT200A02        : v3.5n
FPGA IMAGE STATE:
     IMAGE STATE     : NEUTRAL (code 0)
     PRIMARY BANK    : 0
     RUNNING BANK    : 0

Switching to 8 × 10 Gbit/s operation

The NT200A02-2x40/8x10 SmartNIC can be switched from 2 × 40 Gbit/s operation to 8 × 10 Gbit/s operation as shown in this example:
$ imgctrl --switch --adapter 0
$ imgctrl --switch --confirm --adapter 0

The --switch command forces the SmartNIC to run on the 8 × 10 Gbit/s image. The --switch --confirm command changes the primary image to the running image, that is the 8 × 10 Gbit/s image in image bank 1.

This is an example of an output from a --query command after the --switch command above.
imgctrl --adapter 0 --query
imgctrl v3.7.6.3-92b5a (Apr 30 2019 17:03:09) (Logfile: /tmp/imgctrl.log)
Scanning for Napatech adapters..
Adapter 0:
     PCI SLOT        : 0000:04:00.0
     PCI DEVICE ID   : 01C5
     PCI LANES       : x16
     ADAPTER TYPE    : NT200A02-01-SCC-2x40/8x10-E3-FF-ANL 2x40Gb QSFP+ platform
RUNNING FPGA:
     FPGA IDENT      : 200-9533-20-04-0000
FPGA BANK0:
     PRODUCT CODE    : 9526
     VERSION         : 20.04
     DOWNLOADED BY   : kje
FPGA BANK1:
     PRODUCT CODE    : 9533
     VERSION         : 20.04
     DOWNLOADED BY   : kje
SUPPORTCHIP INFO:
     NT200A02        : v3.5n
FPGA IMAGE STATE:
     IMAGE STATE     : NEUTRAL (code 0)
     PRIMARY BANK    : 1
     RUNNING BANK    : 1