[PATCH v4] acl: support custom memory allocators in rte_acl_build

Stephen Hemminger stephen at networkplumber.org
Mon Dec 1 17:42:09 CET 2025


On Mon,  1 Dec 2025 12:05:07 +0000
"mannywang(王永峰)" <mannywang at tencent.com> wrote:

> +static void *running_alloc(void *udata, char *name, size_t size,
> +	size_t align, int32_t socket_id)
> +{
> +	(void)align;
> +	(void)name;
> +	(void)socket_id;

Please use __rte_unused attribute or RTE_SET_USED() macro for this.


More information about the dev mailing list