]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/include/rte_lcore.h
eal: make semantics of lcore role function more intuitive
[dpdk.git] / lib / librte_eal / common / include / rte_lcore.h
index 334a0629e3ca3b7c703d4027e1a7fde42c58409e..1a2f37eaa422eac8739a74182bd6cb1207945759 100644 (file)
@@ -311,7 +311,7 @@ rte_ctrl_thread_create(pthread_t *thread, const char *name,
  * @param role
  *   The role to be checked against.
  * @return
- *   On success, return 0; otherwise return a negative value.
+ *   Boolean value: positive if test is true; otherwise returns 0.
  */
 int
 rte_lcore_has_role(unsigned int lcore_id, enum rte_lcore_role_t role);