> >
> > You need to use 'atoll', not 'atol'. And yes, typecast is still required.
>
> The code should be using strtoull() and checking for errors.
Thanks Cristian and Stephen. I have sent updated patch-series v4 for review and
commit.
..@dpdk.org
> > Subject: RE: [PATCH 3/3] sched: support for 100G+ rates in subport/pipe
> > config
> >
> > > > entry = rte_cfgfile_get_entry(cfg, sec_name, "tc 12
> > > > rate");
> > > >
> -Original Message-
> From: Ajmera, Megha
> Sent: Tuesday, October 18, 2022 6:40 AM
> To: Dumitrescu, Cristian ; dev@dpdk.org;
> Singh, Jasvinder
> Cc: sta...@dpdk.org
> Subject: RE: [PATCH 3/3] sched: support for 100G+ rates in subport/pipe
> config
> > entry = rte_cfgfile_get_entry(cfg, sec_name, "tc 12 rate");
> > if (entry)
> > - subport_profile[i].tc_rate[12] = (uint64_t)atoi(entry);
> > + subport_profile[i].tc_rate[12] = atol(entry);
> > }
> >
> > return 0;
> > --
> > 2.2
> -Original Message-
> From: Ajmera, Megha
> Sent: Thursday, October 6, 2022 8:01 PM
> To: dev@dpdk.org; Singh, Jasvinder ;
> Dumitrescu, Cristian
> Cc: sta...@dpdk.org
> Subject: [PATCH 3/3] sched: support for 100G+ rates in subport/pipe config
>
> Config load functions updated to su
5 matches
Mail list logo