Hi all:
How to control the order of VLIB_INIT_FUNCTION (user xxx_init function) called
between Different plugins?
It depends on plugin name?or the sequence of loading plugin ?
or is there any other way to adjust the order?
Thanks~
王辉 wanghui
IT开发工程师 IT Development
Engin
Sent: Wednesday, August 30, 2017 4:01 AM
To: vpp-dev@lists.fd.io
Cc: zhao.qingl...@zte.com.cn; wu.bi...@zte.com.cn; gu.ji...@zte.com.cn;
dong.ju...@zte.com.cn
Subject: [vpp-dev] About the order of VLIB_INIT_FUNCTION called between
different plugins
Hi all:
How to control the order of
ji...@zte.com.cn;
> dong.ju...@zte.com.cn
> Subject: [vpp-dev] About the order of VLIB_INIT_FUNCTION called between
> different plugins
>
> Hi all:
>
> How to control the order of VLIB_INIT_FUNCTION (user xxx_init function)
> called between Different plugins?
>
> I
.io; zhao.qingl...@zte.com.cn; wu.bi...@zte.com.cn;
gu.ji...@zte.com.cn; dong.ju...@zte.com.cn; Dave Barach (dbarach)
Subject: 答复: Re: [vpp-dev] About the order of VLIB_INIT_FUNCTION called
between different plugins
Thanks you two for the help~ Now we knew that plugins startup maybe has no
order ,
Hi Damjan,
In the example you mentioned where bar_init() is trying to find if foo_plugin
is really loaded or not.
If foo_plugin is found to be not loaded, a warning is printed and returning a 0.
But this does not gaurantee that bar_init() is called once again after a while,
isnt it ?
So, in thi
> On 4 Jun 2019, at 09:08, Satya Murthy wrote:
>
> Hi Damjan,
>
> In the example you mentioned where bar_init() is trying to find if foo_plugin
> is really loaded or not.
> If foo_plugin is found to be not loaded, a warning is printed and returning a
> 0.
>
> But this does not gaurantee tha
Sorry. I should have asked how to get the init functions in a specific order.
Coz, ACL plugin init is getting called after my customplugin init and hence the
registration from my plugin is getting wiped off.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent t
;
/neale
De : au nom de Satya Murthy
Date : mardi 4 juin 2019 à 13:07
À : "vpp-dev@lists.fd.io"
Objet : Re: [vpp-dev] About the order of VLIB_INIT_FUNCTION called between
different plugins
Sorry. I should have asked how to get the init functions in a specific order.
Coz, ACL pl
Hi Neale,
Thanks for the information.
I have been trying to use this approach but not successful.
I am trying to call acl plugin's init function from my custom plugin. But,
looks like, it is not able to get the acl_init symbol, and hence the custom
plugin loading itself is failing.
Following i
;
From: vpp-dev@lists.fd.io On Behalf Of Satya Murthy
Sent: Thursday, June 6, 2019 4:27 AM
To: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] About the order of VLIB_INIT_FUNCTION called between
different plugins
Hi Neale,
Thanks for the information.
I have been trying to use this approach but not
Donno, my previous reply didnt come to the group, hence resending.
Hi Dave,
In fact, I tried using vlib_get_plugin_symbol for acl_init() function.
But, since its a static function, I am returned with NULL.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent t
11 matches
Mail list logo