[dpdk-dev] [PATCH v5 15/70] net/bnx2x: use contiguous allocation for DMA memory

Thomas Monjalon thomas at monjalon.net
Wed Apr 11 11:12:28 CEST 2018


Compilation error with clang:

09/04/2018 20:00, Anatoly Burakov:
> --- a/drivers/net/bnx2x/bnx2x.c
> +++ b/drivers/net/bnx2x/bnx2x.c
> -	z = rte_memzone_reserve_aligned(mz_name, (uint64_t) (size),
> +	z = rte_memzone_reserve_aligned_contig(mz_name, (uint64_t)size,

drivers/net/bnx2x/bnx2x.c:180:6: fatal error:
	implicit declaration of function 'rte_memzone_reserve_aligned_contig'
	is invalid in C99





More information about the dev mailing list