The link configuration is optional and allows to define per interface link configurations. An explicit link configuration with the global default settings is automatically generated if no link is defined for interface links referenced by interface functions.

{ "interfaces": { "links": [] } }

Attribute

Description

interface

Interface name (e.g. eth0, …).

description

Interface description.

mac

Overwrite the MAC address.
Default: physical interface MAC address

lag-interface

Add interface/link to LAG group.

lacp-priority

LACP interface priority.
Default: 32768

tx-cpuset

Optionally pin TX threads to CPU cores (cpuset). This is required
for DPDK only.

rx-cpuset

Optionally pin RX threads to CPU cores (cpuset). This is required
for DPDK only.

io-mode

Overwrite the IO mode.

io-burst

Overwrite the IO burst.

io-slots

Overwrite the IO slots (ring size).

io-slots-tx

Overwrite the TX IO slots (ring size).

io-slots-rx

Overwrite the RX IO slots (ring size).

qdisc-bypass

Overwrite the kernel’s qdisc layer configuration.

tx-interval

Overwrite the TX polling interval in milliseconds.

rx-interval

Overwrite the RX polling interval in milliseconds.

tx-threads

Overwrite the number of TX threads per interface link.

rx-threads

Overwrite the number of RX threads per interface link.