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-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] sched: fix for tc_ov_enable flag position in subport structure.

2023-02-07 Thread Ajmera, Megha
> > > > 10/01/2023 12:27, David Marchand: > > > On Mon, Jan 9, 2023 at 3:59 PM Megha Ajmera > > wrote: > > > > > > > > Current position of "tv_ov_enable" variable in > > > > > > tc_ov_enabled* > > > > > > > > > > rte_sched_subport structure makes the "memory" variable unused. > > > > > > I did not

RE: [PATCH v8] sched: enable CMAN at runtime

2022-07-05 Thread Ajmera, Megha
> > Added changes to enable CMAN (RED or PIE) at init from profile configuration > file. > > By default CMAN code is enable but not in use, when there is no RED or PIE > profile configured. > > Signed-off-by: Marcin Danilewicz > --- > Log: v2 change in rte_sched.h to avoid ABI breakage. >

RE: [PATCH v3] sched: enable/disable TC OV at runtime

2022-05-09 Thread Ajmera, Megha
Hi Cristian, Marcin, > > -Original Message- > > From: Danilewicz, MarcinX > > Sent: Wednesday, April 27, 2022 10:24 AM > > To: dev@dpdk.org; Singh, Jasvinder ; > > Dumitrescu, Cristian > > Cc: Ajmera, Megha > > Subject: [PATCH v3] sched: enabl

RE: [PATCH v2] sched: Fix subport profile id not set correctly.

2022-10-10 Thread Ajmera, Megha
> > Hi Megha, > > I noticed several patches from you that all fix small things, can you please > put all > of them into a series as opposed to isolated patches? This is to avoid apply > issues due to dependency order. No need for a cover letter in this case. > > Can you please also pay attentio

RE: [PATCH v1 0/4] sched: HQoS Library cleanup.

2022-02-18 Thread Ajmera, Megha
Hi David, I have rebased patch-set with latest main branch code resolving the conflicts. Also updated cover letter. Regards, Megha -Original Message- From: David Marchand Sent: Friday, February 18, 2022 1:42 PM To: Ajmera, Megha Cc: dev ; Singh, Jasvinder ; Dumitrescu, Cristian

RE: [PATCH] sched: fix integer handling issue

2022-02-22 Thread Ajmera, Megha
> From: Stephen Hemminger > Sent: Tuesday, February 22, 2022 9:33 PM > > On Tue, 22 Feb 2022 15:13:53 +0100 > Morten Brørup wrote: > > > > From: Megha Ajmera [mailto:megha.ajm...@intel.com] > > > Sent: Tuesday, 22 February 2022 14.19 > > > > > > Masking of core mask was incorrect. Instead of us

RE: [PATCH v1] sched: enable/disable TC OV at runtime

2022-03-10 Thread Ajmera, Megha
> > > diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c index > > ec74bee939..1d05089d00 100644 > > --- a/lib/sched/rte_sched.c > > +++ b/lib/sched/rte_sched.c > > @@ -155,6 +155,7 @@ struct rte_sched_subport { > > uint64_t tc_credits[RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE]; > > > > /