Port Virtualization

Software Architecture

Napatech SmartNIC
Overview Document


Napatech Software Suite supports port virtualization, which enables multiple accelerators to be handled as one virtual accelerator. This makes it possible to use, for instance, two 2-port accelerators and make them look like a virtual 4-port accelerator, or to make two 1-port accelerators look like one virtual 2-port accelerator.

The port virtualization means that all ports on all accelerators in the system are seen as ports on one virtual accelerator.

This means that the API only works on port numbers and not on accelerators. Accelerators are only used where necessary as in some time synchronization, time-stamping, sensor monitoring and configuration. In all other places accelerators are abstracted out.

Port numbering starts on accelerator 0 and continues on accelerator 1 and so on. For instance, if accelerator 0, 1 and 2 are NT40E3-4-PTP accelerators, accelerator 0 has ports 0 – 3, accelerator 1 has ports 4 – 7 and accelerator 3 has ports 8 – 11. The BusId parameter in the ntservice.ini file can be used for identifying accelerators, and you can change the accelerator sequence by writing new numbers in the [Adapter#] lines of the ntservice.ini file.