DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/1] eal: return true or false from lcore role check function
@ 2018-01-03 18:43 Erik Gabriel Carrillo
  2018-01-03 18:43 ` [dpdk-dev] [PATCH 1/1] " Erik Gabriel Carrillo
  0 siblings, 1 reply; 8+ messages in thread
From: Erik Gabriel Carrillo @ 2018-01-03 18:43 UTC (permalink / raw)
  To: pbhagavatula, harry.van.haaren; +Cc: dev

This patch updates the rte_lcore_has_role() function so that it returns
true/false instead of success/failure, which seems more intuitive given the
function name.

There is currently one call site for rte_lcore_has_role() and the caller uses
it (incorrectly) as though it returns true/false.  The call site can be updated
to use the existing definition instead, but this change can avoid similar
misuses in the future.

Erik Gabriel Carrillo (1):
  eal: return true or false from lcore role check function

 lib/librte_eal/common/eal_common_thread.c | 5 +----
 lib/librte_eal/common/include/rte_lcore.h | 2 +-
 2 files changed, 2 insertions(+), 5 deletions(-)

-- 
2.6.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-01-12 18:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-03 18:43 [dpdk-dev] [PATCH 0/1] eal: return true or false from lcore role check function Erik Gabriel Carrillo
2018-01-03 18:43 ` [dpdk-dev] [PATCH 1/1] " Erik Gabriel Carrillo
2018-01-04  8:47   ` Pavan Nikhilesh
2018-01-09 16:44   ` Aaron Conole
2018-01-11 23:09     ` Carrillo, Erik G
2018-01-11 23:17       ` Thomas Monjalon
2018-01-12 18:01         ` Carrillo, Erik G
2018-01-12 18:04           ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).