Re: [PATCH] test/bitops: check worker lcore availability

2024-10-14 Thread David Marchand
On Sun, Oct 13, 2024 at 8:53 AM Mattias Rönnblom wrote: > > On 2024-10-11 17:25, David Marchand wrote: > > Coverity is not able to understand that having 2 lcores means that > > rte_get_next_lcore(-1, 0, 1) can't return RTE_MAX_LCORE. > > Add an assert. > > > > Coverity issue: 445382, 445383, 4453

Re: [PATCH] test/bitops: check worker lcore availability

2024-10-12 Thread Mattias Rönnblom
On 2024-10-11 17:25, David Marchand wrote: Coverity is not able to understand that having 2 lcores means that rte_get_next_lcore(-1, 0, 1) can't return RTE_MAX_LCORE. Add an assert. Coverity issue: 445382, 445383, 445384, 445387, 445389, 445391 Fixes: 35326b61aecb ("bitops: add atomic bit operat

RE: [PATCH] test/bitops: check worker lcore availability

2024-10-11 Thread Morten Brørup
> From: David Marchand [mailto:david.march...@redhat.com] > Sent: Friday, 11 October 2024 17.26 > > Coverity is not able to understand that having 2 lcores means that > rte_get_next_lcore(-1, 0, 1) can't return RTE_MAX_LCORE. > Add an assert. > > Coverity issue: 445382, 445383, 445384, 445387, 44

[PATCH] test/bitops: check worker lcore availability

2024-10-11 Thread David Marchand
Coverity is not able to understand that having 2 lcores means that rte_get_next_lcore(-1, 0, 1) can't return RTE_MAX_LCORE. Add an assert. Coverity issue: 445382, 445383, 445384, 445387, 445389, 445391 Fixes: 35326b61aecb ("bitops: add atomic bit operations in new API") Signed-off-by: David March