Maximum Number of Network Interfaces

Onload User Guide (UG1586)

Document ID
UG1586
Release Date
2023-07-31
Revision
1.2 English

A maximum of 32 network interfaces capable of acceleration can be registered with the Onload driver. Third party interfaces that cannot be accelerated do not count towards this limit.

Further limits are set by values in the src/include/ci/internal/transport_config_opt.h header file within the source code:

  • The maximum number of hardware ports in the system is set by the CI_CFG_MAX_HWPORTS value. The default for this value is 8, and it can be increased to a maximum of 32.
  • The maximum number of network interfaces per stack is set by the CI_CFG_MAX_INTERFACES value. The default for this value is 8, and it can be increased to a maximum of 16.

    If this value is less than the number of interfaces that the driver provides:

    • The interfaces can be distributed between stacks using blacklisting or namespacing. See Allowlist and Denylist for Interfaces, and Namespaces.
    • If there remain more interfaces visible to an Onload stack than it can support, then the higher interfaces will not be accelerated.

Following changes to these values it is necessary to rebuild and reinstall Onload.