Static manual mode¶
In manual mode, you can specify the list of rings associated with each queue. This configuration is static, meaning that the port has to be restarted to modify it.
The option syntax is as follows:
manual:<sched>/<ring_idx0>:<ring_idx1>.../<ring_idx2>:<ring_idx3>.../...
\ / \ /
qmap 0 qmap 1 ...
For rxqmap, the sched argument can only be rr (round-robin). For
txqmap, the sched argument can be rr (round-robin) or hash. In
the latter case, the virtual ring used to transmit packets depends on
the flow hash of the packet.
Examples for rxqmap in manual mode¶
manual:rr/1/3The core polling queue 0 polls ring 1, the core polling queue 1 polls ring 3.
manual:rr/1:3:5The core polling queue 0 polls rings 1, 3, and 5.
manual:rr/1/3:5The core polling queue 0 polls ring 1, and the core polling queue 1 polls rings 3 and 5.
manual:rr/1:3/3:5The core polling queue 0 polls rings 1 and 3, and the core polling queue 1 polls rings 3 and 5.
Examples for txqmap in manual mode¶
manual:rr/0/2The core transmitting on queue 0 transmits on ring 0, and the core transmitting on queue 1 transmits on ring 2.
manual:rr/0:2:4The core transmitting on queue 0 transmits on rings 0, 2, or 4 in round-robin mode.
manual:hash/0:2:4The core transmitting on queue 0 transmits on ring 0, 2 or 4 depending on the packet flow hash.
manual:rr/0/2:4The core transmitting on queue 0 transmits on rings 0, and the core transmitting on queue 1 transmits on rings 2 and 4 in round-robin mode.