[PATCH] net/af_xdp: fix build with -Wunused-function

Ferruh Yigit ferruh.yigit at intel.com
Tue Jan 18 11:29:22 CET 2022


On 12/9/2021 5:19 PM, Ciara Loftus wrote:
> The get_shared_umem function is only called when the kernel
> flag XDP_UMEM_UNALIGNED_CHUNK_FLAG is defined. Move the
> function implementation and associated helper so that it only
> gets compiled when that flag is set.
> 
> Fixes: 74b46340e2d4 ("net/af_xdp: support shared UMEM")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Ciara Loftus <ciara.loftus at intel.com>

Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>

Applied to dpdk-next-net/main, thanks.



More information about the stable mailing list