[dpdk-dev] [PATCH v6 0/3] lib/rcu: add RCU library supporting QSBR mechanism

David Marchand david.marchand at redhat.com
Thu Apr 25 16:38:17 CEST 2019


On Thu, Apr 25, 2019 at 4:19 PM Honnappa Nagarahalli <
Honnappa.Nagarahalli at arm.com> wrote:

> > - shared link is broken because of rcu_log_type not exported
> I am not sure what this is. Is this shared library compilation? Can you
> please let me know how to reproduce this?
>
> > - some public symbols (variable, macros, functions) are not prefixed
> with rte
> For my understanding, are you referring to the following symbols?
> rcu_log_type
> RCU_DP_LOG - This is internal to the library, will change it to
> __RTE_RCU_DP_LOG
> RCU_IS_LOCK_CNT_ZERO - Same as above
> __rcu_qsbr_check_selective
> __rcu_qsbr_check_all
>

Afaiu, those are exposed via exported symbols, so they are part of the api.
You need to prefix them.

Had a quick look at the code, I suppose enabling rcu debug and shared
library will trigger the link issue Thomas reported.


-- 
David Marchand


More information about the dev mailing list