Init Container

Link-Inline™ Software User Guide

Platform
Napatech SmartNIC
Content Type
User Guide
Capture Software Version
Link-Inline™ Software 3.2

The init container detects the SmartNIC, activates physical/virtual functions and binds them to the vfio-pci driver.

Tasks in the init container

The init container carries out the following tasks:
  • Detects the specified SmartNIC as defined by the NicPci parameter in the ntdevplugin.yaml file.
  • Activates the requested number of virtual functions as defined by the vfCount parameter in the ntdevplugin.yaml file.
  • Binds both the physical and virtual functions to the vfio-pci driver.
If the NicAutoInit parameter is set to enabled in the ntdevplugin.yaml file, the SmartNIC will be automatically bound to the driver, and the specified number of virtual functions will be configured accordingly. For more information on the ntdevplugin.yaml file, see ConfigMap.

Error logging scenarios

Error messages will be logged in the following scenarios:
  • The specified SmartNIC is unavailable.
  • There is a misconfiguration.
  • The automatic configuration process fails.
In such cases, the Napatech device-plugin and main-app containers will not be initialized.