Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Feb 2017 10:08:02 -0800
From:      Navdeep Parhar <np@freebsd.org>
To:        Slawa Olhovchenkov <slw@zxy.spb.ru>
Cc:        "src-committers@freebsd.org" <src-committers@freebsd.org>,  "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>,  "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r313318 - in head: share/man/man4 sys/dev/cxgbe
Message-ID:  <CAPFoGT87X9OK-Pi4n=J3h8Fe-YCbARpcXP7bijBC_CsCseQDTg@mail.gmail.com>
In-Reply-To: <20170206094739.GC5366@zxy.spb.ru>
References:  <201702060519.v165JU1e078891@repo.freebsd.org> <20170206094739.GC5366@zxy.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 6, 2017 at 1:47 AM, Slawa Olhovchenkov <slw@zxy.spb.ru> wrote:
> On Mon, Feb 06, 2017 at 05:19:30AM +0000, Navdeep Parhar wrote:
>
>> Author: np
>> Date: Mon Feb  6 05:19:29 2017
>> New Revision: 313318
>> URL: https://svnweb.freebsd.org/changeset/base/313318
>>
>> Log:
>>   cxgbe(4):  Allow tunables that control the number of queues to be set to
>>   '-n' to tell the driver to create _up to_ 'n' queues if enough cores are
>>   available.  For example, setting hw.cxgbe.nrxq10g="-32" will result in
>>   16 queues if the system has 16 cores, 32 if it has 32.
>>
>>   There is no change in the default number of queues of any type.
>
> Just for my info: how many queues supported by different hardware (T4/T5/T6)?

Each of them supports 1K+ interrupt capable rx queues.  But the
practical limit comes from the number of MSI-X vectors for PCIe PF4 of
the card.  With 128 interrupts max (most common) you have enough to
run a 4 port card with 16 queues each.  A 2 port could have 32 queues
each.  All this assumes that you set number of queues to some power of
2.  If not then you could go higher than these values.

Regards,
Navdeep



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPFoGT87X9OK-Pi4n=J3h8Fe-YCbARpcXP7bijBC_CsCseQDTg>