numam-dpdk/drivers/net/af_xdp
Ciara Loftus 89233c081c net/af_xdp: fix build with Linux < 5.4
Prior to this change, two implementations of rx_syscall_handler
existed although only one was needed (for the zero copy path which
is only available from kernel 5.4 and onwards). Remove the second
definition from compat.h and move the first definition back to where
it is called in the Rx function. Doing this removes a build warning
on kernels before 5.4 which complained about the second function
being defined but not used.

Fixes: 2aa51cdd55 ("net/af_xdp: fix trigger for syscall on Tx")

Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
2021-05-11 16:11:26 +02:00
..
af_xdp_deps.h net/af_xdp: introduce AF_XDP PMD 2019-04-05 17:45:22 +02:00
compat.h net/af_xdp: fix build with Linux < 5.4 2021-05-11 16:11:26 +02:00
meson.build drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
rte_eth_af_xdp.c net/af_xdp: fix build with Linux < 5.4 2021-05-11 16:11:26 +02:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00