Re: [PATCH] eal: fix return value of lcore role

2025-06-08 Thread Thomas Monjalon
20/05/2025 22:17, pbhagavat...@marvell.com: > From: Pavan Nikhilesh > > Update rte_lcore_has_role() to return false instead of a > negative value for invalid lcore IDs, removing the need > for callers to pre-validate the ID. > > Fixes: b0a1502a277c ("eal: make semantics of lcore role function mo

RE: [PATCH] eal: fix return value of lcore role

2025-05-21 Thread Konstantin Ananyev
> > From: Pavan Nikhilesh > > Update rte_lcore_has_role() to return false instead of a > negative value for invalid lcore IDs, removing the need > for callers to pre-validate the ID. > > Fixes: b0a1502a277c ("eal: make semantics of lcore role function more > intuitive") > Cc: sta...@dpdk.org

RE: [PATCH] eal: fix return value of lcore role

2025-05-20 Thread Morten Brørup
> From: Pavan Nikhilesh > > Update rte_lcore_has_role() to return false instead of a > negative value for invalid lcore IDs, removing the need > for callers to pre-validate the ID. > > Fixes: b0a1502a277c ("eal: make semantics of lcore role function more > intuitive") > Cc: sta...@dpdk.org > >

[PATCH] eal: fix return value of lcore role

2025-05-20 Thread pbhagavatula
From: Pavan Nikhilesh Update rte_lcore_has_role() to return false instead of a negative value for invalid lcore IDs, removing the need for callers to pre-validate the ID. Fixes: b0a1502a277c ("eal: make semantics of lcore role function more intuitive") Cc: sta...@dpdk.org Suggested-by: Morten