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

Stephen Hemminger <[email protected]> Sat, 1 Aug 2026 07:59:34 -0700
Newsgroups org.dpdk.dev
Message-ID <[email protected]>
On Sat,  1 Aug 2026 06:53:58 +0000
Morten Br=C3=B8rup <[email protected]> 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 =3D rte_stack_push(s, obj_table, 2 * STACK_SIZE);
> +		if (ret !=3D 0) {
> +			printf("[%s():%u] Excess objects push succeeded\n",
> +			       __func__, __LINE__);
> +			goto fail_test;
> +		}
>  	}