[RFC 6/6] rcu: remove VLA warnings
Morten Brørup
mb at smartsharesystems.com
Fri Apr 19 14:21:07 CEST 2024
> --- a/lib/rcu/rte_rcu_qsbr.h
> +++ b/lib/rcu/rte_rcu_qsbr.h
> @@ -86,6 +86,11 @@ struct __rte_cache_aligned rte_rcu_qsbr_cnt {
> #define __RTE_QSBR_CNT_MAX ((uint64_t)~0)
> #define __RTE_QSBR_TOKEN_SIZE sizeof(uint64_t)
>
> +/**
> + * Max allowable size (in bytes) of each element in the defer queue
> + */
> +#define RTE_QSBR_ESIZE_MAX (2 * RTE_CACHE_LINE_MIN_SIZE)
Consider moving this to /config/rte_config.h
With or without suggested change...
Acked-By: Morten Brørup <mb at smartsharesystems.com>
More information about the dev
mailing list