summaryrefslogtreecommitdiffstats
path: root/sys/dev/e1000
diff options
context:
space:
mode:
authorgnn <gnn@FreeBSD.org>2009-01-13 00:10:50 +0000
committergnn <gnn@FreeBSD.org>2009-01-13 00:10:50 +0000
commitf29447f12d25b62fc890196d0a53efe63ef9d5ab (patch)
tree33c6c765976cecfe1f18c90142548347a53ef6e6 /sys/dev/e1000
parentc6a41fafcba456eb3884d51df358ec4a9ddde9c4 (diff)
downloadFreeBSD-src-f29447f12d25b62fc890196d0a53efe63ef9d5ab.zip
FreeBSD-src-f29447f12d25b62fc890196d0a53efe63ef9d5ab.tar.gz
Fix a cut/paste bug which prevents us from setting the average
latency tunable. Reviewed by: jfv MFC after: 1 day
Diffstat (limited to 'sys/dev/e1000')
-rw-r--r--sys/dev/e1000/if_igb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/e1000/if_igb.c b/sys/dev/e1000/if_igb.c
index 8317cd8..0f7dd7c 100644
--- a/sys/dev/e1000/if_igb.c
+++ b/sys/dev/e1000/if_igb.c
@@ -279,7 +279,7 @@ TUNABLE_INT("hw.igb.enable_aim", &igb_enable_aim);
static int igb_low_latency = IGB_LOW_LATENCY;
TUNABLE_INT("hw.igb.low_latency", &igb_low_latency);
static int igb_ave_latency = IGB_AVE_LATENCY;
-TUNABLE_INT("hw.igb.ave_latency", &igb_low_latency);
+TUNABLE_INT("hw.igb.ave_latency", &igb_ave_latency);
static int igb_bulk_latency = IGB_BULK_LATENCY;
TUNABLE_INT("hw.igb.bulk_latency", &igb_bulk_latency);
OpenPOWER on IntegriCloud