mirror of
https://github.com/rtbrick/bngblaster.git
synced 2024-05-06 15:54:57 +00:00
50 lines
4.7 KiB
ReStructuredText
50 lines
4.7 KiB
ReStructuredText
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.
|
|
|
|
.. code-block:: json
|
|
|
|
{ "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. |
|
|
+-----------------------------------+----------------------------------------------------------------------+
|