Pre 1908 :
static clib_error_t *
my_module_init (vlib_main_t * vm)
{
    if ((error = vlib_call_init_function (vm, some_other_module_init)))
    return (error);
} ;

post 1908 :
    VLIB_INIT_FUNCTION (my_module_init) =
   {
      .runs_after = VLIB_INITS("some_other_module_init"),
   };


/neale

De : <[email protected]> au nom de Satya Murthy <[email protected]>
Date : mardi 4 juin 2019 à 13:07
À : "[email protected]" <[email protected]>
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 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 to this group.

View/Reply Online (#13218): https://lists.fd.io/g/vpp-dev/message/13218
Mute This Topic: https://lists.fd.io/mt/10642182/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to