This simplifies the implementation of rte_rcu_qsbr_thread_register()
and rte_rcu_thread_unregister() functions. The simplified implementation
is easier to read.
Signed-off-by: Doug Foster
Reviewed-by: Honnappa Nagarahalli
Reviewed-by: Wathsala Vithanage
---
.mailmap | 1 +
lib
This simplifies the implementation of rte_rcu_qsbr_thread_register()
and rte_rcu_thread_unregister() functions. The simplified implementation
is easier to read.
Signed-off-by: Doug Foster
Reviewed-by: Honnappa Nagarahalli
Reviewed-by: Wathsala Vithanage
---
.mailmap | 1 +
lib
The check for NULL is not necessary before calling rte_rcu_qsbr_dq_delete.
Similar to other free routines, an error will not occur when the dq pointer is
NULL.
However, it will give a debug log statement to indicate an invalid parameter
and return 0 to indicate success.
-Original Message---
3 matches
Mail list logo