Good day Suresh The message: "kernel: i40e 0000:af:00.1: User requested queue count/HW max RSS count: 104/64".
Means that h/w supports only 64ques, but user requested 104. If your OS displays maximum possible ques more than h/w supports then there is a bug in display routines. With the best regards Alex From: suresh ks <[email protected]> Sent: Thursday, February 8, 2024 2:14 PM To: Loktionov, Aleksandr <[email protected]> Cc: Kitszel, Przemyslaw <[email protected]>; Brandeburg, Jesse <[email protected]>; Nguyen, Anthony L <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected] Subject: Re: [PATCH iwl v2] i40e: print correct hw max rss count in kernel ring buffer Hi, Thanks for checking. Do I need to do anything to reject this patch? If yes, please let me know. This is first sucht experience for me. Would like to get some understanding on below kernel logging for which I suggested the patch. The ethtool reports maximum supported queue as 104 and when I set it, it takes that value also. But kernel logs: "kernel: i40e 0000:af:00.1: User requested queue count/HW max RSS count: 104/64". So does it meas the firmware supports only 64, but we can set 104 or something like that ? Is it any virtual queue set by driver as per number of CPUs ?. What I observe is, system has 104 CPUs. I have another such machine where maximum supported queue mentioned by ethtool is as per number of CPUs. But here again, the 'max RSS' is reported less by kernel. thanks.... Suresh KS [email protected]<mailto:[email protected]> 91-7709100053 On Tue, Jan 30, 2024 at 2:03 PM Loktionov, Aleksandr <[email protected]<mailto:[email protected]>> wrote: > -----Original Message----- > From: Kitszel, Przemyslaw > <[email protected]<mailto:[email protected]>> > Sent: Tuesday, January 30, 2024 9:26 AM > To: Loktionov, Aleksandr > <[email protected]<mailto:[email protected]>> > Subject: Fwd: [PATCH iwl v2] i40e: print correct hw max rss count > in kernel ring buffer > > FWD to Alex > > > -------- Forwarded Message -------- > Subject: [PATCH iwl v2] i40e: print correct hw max rss count in > kernel ring buffer > Date: Sat, 20 Jan 2024 12:58:06 +0530 > From: Suresh Kumar <[email protected]<mailto:[email protected]>> > To: [email protected]<mailto:[email protected]>, > [email protected]<mailto:[email protected]>, > [email protected]<mailto:[email protected]>, > [email protected]<mailto:[email protected]>, > [email protected]<mailto:[email protected]>, > [email protected]<mailto:[email protected]>, > [email protected]<mailto:[email protected]>, > [email protected]<mailto:[email protected]>, > [email protected]<mailto:[email protected]> > CC: Suresh Kumar <[email protected]<mailto:[email protected]>> > > pf->rss_size_max is hardcoded and always prints max rss count as > 64. > > Eg: > kernel: i40e 0000:af:00.1: User requested queue count/HW max RSS > count: 104/64 > > whereas ethtool reports the correct value from "vsi- > >num_queue_pairs" > > Channel parameters for eno33: > Pre-set maximums: > RX: n/a > TX: n/a > Other: 1 > Combined: 104 > Current hardware settings: > RX: n/a > TX: n/a > Other: 1 > Combined: 104 <------- > > and is misleading. > > Change it to vsi->num_queue_pairs Please reject this patch, it breaks driver logging. The massage clearly states that it dumps max rss queues number that f/w supports. Thank you > Signed-off-by: Suresh Kumar > <[email protected]<mailto:[email protected]>> > --- > drivers/net/ethernet/intel/i40e/i40e_main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c > b/drivers/net/ethernet/intel/i40e/i40e_main.c > index d5519af34657..f5c1ec190f7e 100644 > --- a/drivers/net/ethernet/intel/i40e/i40e_main.c > +++ b/drivers/net/ethernet/intel/i40e/i40e_main.c > @@ -12524,7 +12524,7 @@ int i40e_reconfig_rss_queues(struct i40e_pf > *pf, int queue_count) > i40e_pf_config_rss(pf); > } > dev_info(&pf->pdev->dev, "User requested queue count/HW max > RSS > count: %d/%d\n", > - vsi->req_queue_pairs, pf->rss_size_max); > + vsi->req_queue_pairs, vsi->num_queue_pairs); > return pf->alloc_rss_size; > } > -- 2.43.0 >
