summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2013-04-03 21:55:19 +0000
committersbruno <sbruno@FreeBSD.org>2013-04-03 21:55:19 +0000
commit2ca30a8c108d4e822c53fb9365399f844e2f944c (patch)
treea100cb05454695a304f9579af44e6ae688d97503
parent20a2c3e0967d22c7dcb946bcc528adf4f3c2800f (diff)
downloadFreeBSD-src-2ca30a8c108d4e822c53fb9365399f844e2f944c.zip
FreeBSD-src-2ca30a8c108d4e822c53fb9365399f844e2f944c.tar.gz
Update man page for igb(4) with a little bit of information about
hw.igb.num_queues for those so inclined. PR: kern/177384 Submitted by: hiren.panchasara@gmail.com Reviewed by: sbruno@ Approved by: jfv@ Obtained from: Yahoo! Inc. MFC after: 2 weeks
-rw-r--r--share/man/man4/igb.47
-rw-r--r--sys/dev/e1000/if_igb.c3
2 files changed, 8 insertions, 2 deletions
diff --git a/share/man/man4/igb.4 b/share/man/man4/igb.4
index f487048..06eb4fd 100644
--- a/share/man/man4/igb.4
+++ b/share/man/man4/igb.4
@@ -31,7 +31,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd May 12, 2012
+.Dd March 25, 2013
.Dt IGB 4
.Os
.Sh NAME
@@ -160,6 +160,11 @@ The minimum is 80, and the maximum is 4096.
.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
diff --git a/sys/dev/e1000/if_igb.c b/sys/dev/e1000/if_igb.c
index 03c5123..51fbbd4 100644
--- a/sys/dev/e1000/if_igb.c
+++ b/sys/dev/e1000/if_igb.c
@@ -375,7 +375,8 @@ SYSCTL_INT(_hw_igb, OID_AUTO, header_split, CTLFLAG_RDTUN, &igb_header_split, 0,
/*
** 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);
OpenPOWER on IntegriCloud