svn commit: r313318 - in head: share/man/man4 sys/dev/cxgbe

Navdeep Parhar np at freebsd.org
Mon Feb 6 18:08:04 UTC 2017


On Mon, Feb 6, 2017 at 1:47 AM, Slawa Olhovchenkov <slw at 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


More information about the svn-src-head mailing list