Date: Mon, 25 Mar 2013 23:01:45 GMT From: hiren panchasara <hiren.panchasara@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/177384: [patch] Updating igb manpage/code with info about num_queues Message-ID: <201303252301.r2PN1jqk076074@red.freebsd.org> Resent-Message-ID: <201303252310.r2PNA0Jx043899@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 177384 >Category: kern >Synopsis: [patch] Updating igb manpage/code with info about num_queues >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 25 23:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: hiren panchasara >Release: current >Organization: >Environment: 10.0-CURRENT FreeBSD 10.0-CURRENT #1 r248555: Wed Mar 20 15:00:20 UTC 2013 >Description: Updating manpage and source file for igb to specify tunable num_queues. >How-To-Repeat: >Fix: Index: share/man/man4/igb.4 =================================================================== --- share/man/man4/igb.4 (revision 248708) +++ share/man/man4/igb.4 (working copy) @@ -31,7 +31,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 12, 2012 +.Dd March 25, 2013 .Dt IGB 4 .Os .Sh NAME @@ -160,6 +160,11 @@ .It Va hw.igb.enable_aim If set to 1, enable Adaptive Interrupt Moderation. The default is to enable Adaptive Interrupt Moderation. +.It Va hw.igb.num_queues +Numer of queues used for data transfer. +If set to 0, number of queues will be configured +automatically based on number of CPUs and max +supported MSI-X messages on the device. .It Va kern.ipc.nmbclusters The maximum number of mbuf clusters allowed. If the system has more than one igb card or jumbo frames are Index: sys/dev/e1000/if_igb.c =================================================================== --- sys/dev/e1000/if_igb.c (revision 248708) +++ sys/dev/e1000/if_igb.c (working copy) @@ -375,7 +375,8 @@ /* ** This will autoconfigure based on -** the number of CPUs if left at 0. +** the number of CPUs and max supported MSI-X messages +** if left at 0. */ static int igb_num_queues = 0; TUNABLE_INT("hw.igb.num_queues", &igb_num_queues); >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303252301.r2PN1jqk076074>