kern/177384: [patch] Updating igb manpage/code with info about num_queues
hiren panchasara
hiren.panchasara at gmail.com
Mon Mar 25 23:10:00 UTC 2013
>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:
More information about the freebsd-bugs
mailing list