RE: [PATCH 3/3] sched: support for 100G+ rates in subport/pipe config

2022-10-20 Thread Ajmera, Megha
> > > > 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.

Re: [PATCH 3/3] sched: support for 100G+ rates in subport/pipe config

2022-10-19 Thread Stephen Hemminger
..@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"); > > > >

RE: [PATCH 3/3] sched: support for 100G+ rates in subport/pipe config

2022-10-18 Thread Dumitrescu, Cristian
> -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

RE: [PATCH 3/3] sched: support for 100G+ rates in subport/pipe config

2022-10-17 Thread Ajmera, Megha
> > 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

RE: [PATCH 3/3] sched: support for 100G+ rates in subport/pipe config

2022-10-11 Thread Dumitrescu, Cristian
> -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