Changing Table Sizes before Onload-201710

Onload User Guide (UG1586)

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

Releases of Onload prior to onload-201710 support the following runtime configurable options which determine the size of control plane tables:

Table 1. Obsolete Options for Changing Table Sizes
Option Description Default
max_layer2_interfaces

Sets the maximum number of network interfaces, including physical interfaces, VLANs and bonds, supported in Onload’s control plane.

Table: mib_llap (also referred to in messages as the “local address table”).

50
max_local_addrs

Sets the maximum number of local network addresses supported in Onload’s control plane.

Table: mib_ipif

256
max_neighs

Sets the maximum number of rows in the Onload ARP/neighbor table. The value is rounded up to a power of two.

Table: mib_mac

1024
max_routes

Sets the maximum number of entries in the Onload route table.

The default size is usually sufficient; but might need to be increased for complex routing setups. The minimum size needed can be calculated as ((local IP addresses +1) * remote IP addresses); or determined by:

ip link show | wc -l

Table: mib_fwd

256

If non-default values are needed, the user should create a file in the /etc/modprobe.d directory. The file must have the .conf extension. Onload options can be added to the file, a single option per line, in the following format:

options onload_cplane max_neighs=512
options onload_cplane max_routes=256