]> git.droids-corp.org - dpdk.git/commit
doc: add AF_XDP queue setup information
authorCiara Loftus <ciara.loftus@intel.com>
Tue, 22 Feb 2022 14:31:48 +0000 (14:31 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 23 Feb 2022 12:37:58 +0000 (13:37 +0100)
commitdffc3e9be320a7a71d93f9e0ce6984fb05066480
treeed1fdf1409457646fe6ea5f5a362eb7fe5b6408f
parent993677affe391be8bb390c2625bc3d8bb857f0a5
doc: add AF_XDP queue setup information

When an AF_XDP PMD is created without specifying the 'start_queue', the
default Rx queue associated with the socket will be Rx queue 0. A common
scenario encountered by users new to AF_XDP is that they create the
socket on queue 0 however their interface is configured with many more
queues. In this case, traffic might land on for example queue 18 which
means it will never reach the socket.

This commit updates the AF_XDP documentation with instructions on how to
configure the interface to ensure the traffic will land on queue 0 and
thus reach the socket successfully.

Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
doc/guides/nics/af_xdp.rst