[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <86c85e1835764d7b147567e907681d74d315babc.camel@intel.com>
Date: Fri, 16 Aug 2019 18:01:22 +0000
From: "Nguyen, Anthony L" <anthony.l.nguyen@...el.com>
To: "jakub.kicinski@...ronome.com" <jakub.kicinski@...ronome.com>
CC: "nhorman@...hat.com" <nhorman@...hat.com>,
"davem@...emloft.net" <davem@...emloft.net>,
"Kirsher, Jeffrey T" <jeffrey.t.kirsher@...el.com>,
"Bowers, AndrewX" <andrewx.bowers@...el.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"sassmann@...hat.com" <sassmann@...hat.com>,
"Tieman, Henry W" <henry.w.tieman@...el.com>
Subject: Re: [net-next 01/15] ice: Implement ethtool ops for channels
On Mon, 2019-08-12 at 15:24 -0700, Jakub Kicinski wrote:
> On Mon, 12 Aug 2019 15:07:09 +0000, Nguyen, Anthony L wrote:
> > On Fri, 2019-08-09 at 14:15 -0700, Jakub Kicinski wrote:
> > > On Fri, 9 Aug 2019 11:31:25 -0700, Jeff Kirsher wrote:
> > > > From: Henry Tieman <henry.w.tieman@...el.com>
> > > >
> > > > Add code to query and set the number of queues on the primary
> > > > VSI for a PF. This is accessed from the 'ethtool -l' and
> > > > 'ethtool
> > > > -L'
> > > > commands, respectively.
> > > >
> > > > Signed-off-by: Henry Tieman <henry.w.tieman@...el.com>
> > > > Signed-off-by: Tony Nguyen <anthony.l.nguyen@...el.com>
> > > > Tested-by: Andrew Bowers <andrewx.bowers@...el.com>
> > > > Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
> > >
> > > If you're using the same IRQ vector for RX and TX queue the
> > > channel
> > > counts as combined. Looks like you are counting RX and TX
> > > separately
> > > here. That's incorrect.
> >
> > Hi Jakub,
> >
> > The ice driver can support asymmetric queues. We report these
> > seperately, as opposed to combined, so that the user can specify a
> > different number of Rx and Tx queues.
>
> If you have 20 IRQ vectors, 10 TX queues and 20 RX queues, the first
> 10
> RX queues share a IRQ vector with TX queues the ethool API counts
> them
> as 10 combined and 10 rx-only.
>
> 10 tx-only and 20 rx-only would require 30 IRQ vectors.
Thanks for the feedback Jakub. We are looking into this.
-Tony
Download attachment "smime.p7s" of type "application/x-pkcs7-signature" (3277 bytes)
Powered by blists - more mailing lists