Re: [dpdk-dev] [PATCH] timer: allow first subsystem init from secondary

2019-05-09 Thread Carrillo, Erik G
<...snipped...> > > > > @@ -155,40 +156,41 @@ rte_timer_subsystem_init_v1905(void) > > struct rte_timer_data *data; > > int i, lcore_id; > > static const char *mz_name = "rte_timer_mz"; > > + const size_t data_arr_size = > > + RTE_MAX_DATA_ELS * > sizeof(*rt

Re: [dpdk-dev] [PATCH] timer: allow first subsystem init from secondary

2019-05-09 Thread Burakov, Anatoly
On 08-May-19 11:17 PM, Erik Gabriel Carrillo wrote: Since memzones can be reserved from secondary processes as well as primary processes, if the first call to the timer subsystem init function occurs in a secondary process, we should allow it to succeed. Fixes: c0749f7096c7 ("timer: allow manage

[dpdk-dev] [PATCH] timer: allow first subsystem init from secondary

2019-05-08 Thread Erik Gabriel Carrillo
Since memzones can be reserved from secondary processes as well as primary processes, if the first call to the timer subsystem init function occurs in a secondary process, we should allow it to succeed. Fixes: c0749f7096c7 ("timer: allow management in shared memory") Signed-off-by: Erik Gabriel C