Re: [PATCH v2 1/5] eal: check lcore variable handle

2024-12-18 Thread Burakov, Anatoly
On 12/17/2024 9:59 AM, David Marchand wrote: Add an assert to double check the passed handle is not NULL, as it points at an initialisation/allocation issue prior to accessing this lcore variable. Signed-off-by: David Marchand --- lib/eal/include/rte_lcore_var.h | 2 ++ 1 file changed, 2 ins

[PATCH v2 1/5] eal: check lcore variable handle

2024-12-17 Thread David Marchand
Add an assert to double check the passed handle is not NULL, as it points at an initialisation/allocation issue prior to accessing this lcore variable. Signed-off-by: David Marchand --- lib/eal/include/rte_lcore_var.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/eal/include/rte_lcor