[dpdk-dev] [PATCH] net/af_xdp: fix build warning for kernels < 5.4
Ferruh Yigit
ferruh.yigit at intel.com
Tue May 11 16:12:47 CEST 2021
On 5/10/2021 9:47 AM, Ciara Loftus wrote:
> 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: 2aa51cdd559e ("net/af_xdp: fix trigger for syscall on Tx")
>
> Signed-off-by: Ciara Loftus <ciara.loftus at intel.com>
Applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list