numam-dpdk/drivers
Ciara Loftus b42cffab05 net/af_xdp: use recvfrom only if busy polling enabled
The recvfrom() syscall is only supported by AF_XDP sockets since
kernel 5.11. Only use it if busy polling is configured. We can
assume a kernel >= 5.11 is in use if busy polling is configured
so we can safely call recvfrom() in that case.

Fixes: 63e8989fe5 ("net/af_xdp: use recvfrom instead of poll syscall")

Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
2021-04-20 12:09:33 +02:00
..
baseband drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
bus drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
common common/dpaax: fix possible null pointer access 2021-04-21 16:58:34 +02:00
compress drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
crypto lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
event drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
mempool drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
net net/af_xdp: use recvfrom only if busy polling enabled 2021-04-20 12:09:33 +02:00
raw raw/ifpga: set monitor thread name 2021-04-21 15:57:51 +02:00
regex drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
vdpa vdpa/ifc: set notify and vring relay thread names 2021-04-21 15:57:51 +02:00
meson.build drivers: clean up build lists 2021-04-21 12:37:55 +02:00