Container package
The
.ntimg container package for the NT200A01-8×10/2×40 SmartNIC
contains:
- An 8 × 10 Gbit/s .ntimg container package
- A 2 × 40 Gbit/s .ntimg container package
- An index file
The content of the index file is fixed. It controls that the 8 × 10 Gbit/s image is in image bank 0 and the 2 × 40 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 8 × 10 Gbit/s image.
This is an example of an output from a --query command on a SmartNIC in default
mode.
imgctrl --adapter 1 --query imgctrl v3.7.0.13-cde2e (Sep 13 2018 05:59:55) (Logfile: /tmp/imgctrl.log) Scanning for Napatech adapters.. Adapter 1: PCI SLOT : 0000:82:00.0 PCI DEVICE ID : 01A5 PCI LANES : x8x8 ADAPTER TYPE : NT200A01-02-SCC-2x40-E3-FF-ANL 2x40Gb QSFP+ platform RUNNING FPGA: FPGA IDENT : 200-9522-15-01-0000 FPGA BANK0: PRODUCT CODE : 9522 VERSION : 15.01 DOWNLOADED BY : kje FPGA BANK1: PRODUCT CODE : 9512 VERSION : 15.00 DOWNLOADED BY : kje SUPPORTCHIP INFO: NT200E3_2_PTP : v3.5h FPGA IMAGE STATE: IMAGE STATE : NEUTRAL (code 0) PRIMARY BANK : 0 RUNNING BANK : 0
Switching to 2 × 40 Gbit/s operation
The NT200A01-8×10/2×40 SmartNIC can be switched from
8 × 10 Gbit/s operation to 2 × 40 Gbit/s 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 2 × 40 Gbit/s image. The --switch --confirm command changes the primary image to the running image, that is the 2 × 40 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 1 --query imgctrl v3.7.0.13-cde2e (Sep 13 2018 05:59:55) (Logfile: /tmp/imgctrl.log) Scanning for Napatech adapters.. Adapter 1: PCI SLOT : 0000:82:00.0 PCI DEVICE ID : 01A5 PCI LANES : x8x8 ADAPTER TYPE : NT200A01-02-SCC-2x40-E3-FF-ANL 2x40Gb QSFP+ platform RUNNING FPGA: FPGA IDENT : 200-9512-15-00-0000 FPGA BANK0: PRODUCT CODE : 9522 VERSION : 15.01 DOWNLOADED BY : kje FPGA BANK1: PRODUCT CODE : 9512 VERSION : 15.00 DOWNLOADED BY : kje SUPPORTCHIP INFO: NT200E3_2_PTP : v3.5h FPGA IMAGE STATE: IMAGE STATE : NEUTRAL (code 0) PRIMARY BANK : 1 RUNNING BANK : 1