Configuration Examples

Software Architecture

Napatech SmartNIC
Overview Document

Allocating host buffers

To allocate host buffers on specific NUMA nodes, create an ntservice.ini file and restart ntservice.

Example 1

This example configures two connected NT100E3-1-PTP accelerators to act separately.

For each NT100E3-1-PTP accelerator in this example (0 and 1), the bonding type, PCI bus ID and the NUMA node are specified. Finally, four RX host buffers are defined for both NT100E3-1-PTP accelerators, each 16 MB on their individual NUMA nodes.

AdapterType = NT100E3_1_PTP
BondingType = Separate
BusId = 0000:06:00.0
NumaNode = 0

AdapterType = NT100E3_1_PTP
BondingType = Separate
BusId = 0000:84:00.0
NumaNode = 1

HostBuffersRx = [4,16,$Local$]     # Allocate four 16 MB host buffers on the local NUMA node

Finding the bus ID

To find the bus ID, start ntservice with the default configuration and use the adapterinfo tool to locate the bus ID for a specific accelerator.

Example 2

This example configures an NT40E3-4-PTP accelerator.

For the NT40E3-4-PTP accelerator in this example, the native UNIX time stamp is selected first. The accelerator is accelerator 0 and located on the PCI bus at 00:0b:00:00. Eight RX host buffers are defined, each 16 MB from NUMA node 0. Finally, extended descriptor 9 is selected.