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/3

The core polling queue 0 polls ring 1, the core polling queue 1 polls ring 3.

../../../../../_images/aafig-1a42b62d709aadc811b5ecb39957d97f47ce7fe3.svg
manual:rr/1:3:5

The core polling queue 0 polls rings 1, 3, and 5.

../../../../../_images/aafig-6413e4d0e71f7d5e2db10708ab38b42f6ca312f9.svg
manual:rr/1/3:5

The core polling queue 0 polls ring 1, and the core polling queue 1 polls rings 3 and 5.

../../../../../_images/aafig-05ce2d741b99e1c9b6605d96b64dddcd5816660d.svg
manual:rr/1:3/3:5

The core polling queue 0 polls rings 1 and 3, and the core polling queue 1 polls rings 3 and 5.

../../../../../_images/aafig-3a336762cce1d4fc2b32eb5e3eeafe980c1e178e.svg

Examples for txqmap in manual mode

manual:rr/0/2

The core transmitting on queue 0 transmits on ring 0, and the core transmitting on queue 1 transmits on ring 2.

../../../../../_images/aafig-ff71e5d643b0b9c08294d79c61fa5cd71efac0f3.svg
manual:rr/0:2:4

The core transmitting on queue 0 transmits on rings 0, 2, or 4 in round-robin mode.

../../../../../_images/aafig-4474fdcbbdaf1b6444be8b4d93b2afca6da1cbed.svg
manual:hash/0:2:4

The core transmitting on queue 0 transmits on ring 0, 2 or 4 depending on the packet flow hash.

../../../../../_images/aafig-410143bf3ba10680f6e373580975056ef0fa2ad7.svg
manual:rr/0/2:4

The 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.

../../../../../_images/aafig-81dda246dc4467e49a31c2f5011d57d52dc7f0c4.svg