[dpdk-dev] [dpdk-stable] [PATCH 1/2] test/rcu: increase the size of num cores variable

Thomas Monjalon thomas at monjalon.net
Fri Jun 28 15:34:32 CEST 2019


28/06/2019 11:09, David Marchand:
> On Fri, Jun 28, 2019 at 5:44 AM Honnappa Nagarahalli
> > --- a/app/test/test_rcu_qsbr.c
> > +++ b/app/test/test_rcu_qsbr.c
> > @@ -27,7 +27,7 @@
> >  #define TEST_RCU_QSBR_CNT_INIT 1
> >
> >  uint16_t enabled_core_ids[RTE_MAX_LCORE];
> > -uint8_t num_cores;
> > +uint16_t num_cores;
> 
> If we want to be closer to the eal API, those should be unsigned int.

I agree, please use unsigned int where relevant.





More information about the dev mailing list