summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-07-12 17:22:13 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-07-12 17:22:13 +0000
commit71d697a5df7b0ac9b54df6a5578d15fbfe7e35a5 (patch)
treebfab4fba125d6e8d318b02b67e8f0802da40a8d1
parent0d217255d881a21314725364ec5d32985bd96cb1 (diff)
downloadFreeBSD-src-71d697a5df7b0ac9b54df6a5578d15fbfe7e35a5.zip
FreeBSD-src-71d697a5df7b0ac9b54df6a5578d15fbfe7e35a5.tar.gz
MFC r302439:
iflib: Fix typo in 'iflib_rx_miss_bufs' sysctl name Approved by: re (gjb)
-rw-r--r--sys/net/iflib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/iflib.c b/sys/net/iflib.c
index 67282b7..c11da16 100644
--- a/sys/net/iflib.c
+++ b/sys/net/iflib.c
@@ -626,12 +626,12 @@ MODULE_DEPEND(iflib, netmap, 1, 1, 1);
/*
* device-specific sysctl variables:
*
- * ixl_crcstrip: 0: keep CRC in rx frames (default), 1: strip it.
+ * iflib_crcstrip: 0: keep CRC in rx frames (default), 1: strip it.
* During regular operations the CRC is stripped, but on some
* hardware reception of frames not multiple of 64 is slower,
* so using crcstrip=0 helps in benchmarks.
*
- * ixl_rx_miss, ixl_rx_miss_bufs:
+ * iflib_rx_miss, iflib_rx_miss_bufs:
* count packets that might be missed due to lost interrupts.
*/
SYSCTL_DECL(_dev_netmap);
@@ -646,7 +646,7 @@ SYSCTL_INT(_dev_netmap, OID_AUTO, iflib_crcstrip,
int iflib_rx_miss, iflib_rx_miss_bufs;
SYSCTL_INT(_dev_netmap, OID_AUTO, iflib_rx_miss,
CTLFLAG_RW, &iflib_rx_miss, 0, "potentially missed rx intr");
-SYSCTL_INT(_dev_netmap, OID_AUTO, ixl_rx_miss_bufs,
+SYSCTL_INT(_dev_netmap, OID_AUTO, iflib_rx_miss_bufs,
CTLFLAG_RW, &iflib_rx_miss_bufs, 0, "potentially missed rx intr bufs");
/*
OpenPOWER on IntegriCloud