[dpdk-stable] [PATCH] rcu: fix reference to offline function

Honnappa Nagarahalli Honnappa.Nagarahalli at arm.com
Fri Oct 18 15:58:20 CEST 2019


<snip>

> Subject: [PATCH] rcu: fix reference to offline function
> 
> Fixes: 64994b56cfd7 ("rcu: add RCU library supporting QSBR mechanism")
> Cc: stable at dpdk.org
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---
> I intend to add this patch to this series.
> Honnappa, can you review it please ?
> 
> ---
>  lib/librte_rcu/rte_rcu_qsbr.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/lib/librte_rcu/rte_rcu_qsbr.h b/lib/librte_rcu/rte_rcu_qsbr.h index
> 0d46645..0b55859 100644
> --- a/lib/librte_rcu/rte_rcu_qsbr.h
> +++ b/lib/librte_rcu/rte_rcu_qsbr.h
> @@ -217,7 +217,7 @@ struct rte_rcu_qsbr {
>   * call this API before calling rte_rcu_qsbr_quiescent. This can be called
>   * during initialization or as part of the packet processing loop.
>   *
> - * The reader thread must call rte_rcu_thread_offline API, before
> + * The reader thread must call rte_rcu_qsbr_thread_offline API, before
>   * calling any functions that block, to ensure that rte_rcu_qsbr_check
>   * API does not wait indefinitely for the reader thread to update its QS.
>   *
> @@ -283,7 +283,7 @@ struct rte_rcu_qsbr {
>   * This can be called during initialization or as part of the packet
>   * processing loop.
>   *
> - * The reader thread must call rte_rcu_thread_offline API, before
> + * The reader thread must call rte_rcu_qsbr_thread_offline API, before
>   * calling any functions that block, to ensure that rte_rcu_qsbr_check
>   * API does not wait indefinitely for the reader thread to update its QS.
>   *
> --
> 1.8.3.1
Thank you David.
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>



More information about the stable mailing list