[RFC PATCH] pile stack and mempool driver (resend)

Stephen Hemminger stephen at networkplumber.org
Sat Aug 1 16:59:34 CEST 2026


On Sat,  1 Aug 2026 06:53:58 +0000
Morten Brørup <mb at smartsharesystems.com> wrote:

> +__rte_diagnostic_push
> +#pragma GCC diagnostic ignored "-Warray-bounds"
> +#pragma GCC diagnostic ignored "-Wstringop-overread"

Ugh, no please don't fight the compiler.

> +	if (!(s->flags & RTE_STACK_F_PILE)) {
> +		ret = rte_stack_push(s, obj_table, 2 * STACK_SIZE);
> +		if (ret != 0) {
> +			printf("[%s():%u] Excess objects push succeeded\n",
> +			       __func__, __LINE__);
> +			goto fail_test;
> +		}
>  	}


More information about the dev mailing list