iflib: Fix typo in 'iflib_rx_miss_bufs' sysctl name
It looks like these sysctls were copy-pasted from netmap. Most were changed from 'ixl_' prefix to 'iflib_', but this one was missed. Fix the "can't re-use a leaf (ixl_rx_miss_bufs)!" warning. Reported by: dim@ and others Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
88f0575156
commit
91d546a05d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=302439
@ -626,12 +626,12 @@ MODULE_DEPEND(iflib, netmap, 1, 1, 1);
|
|||||||
/*
|
/*
|
||||||
* device-specific sysctl variables:
|
* 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
|
* During regular operations the CRC is stripped, but on some
|
||||||
* hardware reception of frames not multiple of 64 is slower,
|
* hardware reception of frames not multiple of 64 is slower,
|
||||||
* so using crcstrip=0 helps in benchmarks.
|
* 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.
|
* count packets that might be missed due to lost interrupts.
|
||||||
*/
|
*/
|
||||||
SYSCTL_DECL(_dev_netmap);
|
SYSCTL_DECL(_dev_netmap);
|
||||||
@ -646,7 +646,7 @@ SYSCTL_INT(_dev_netmap, OID_AUTO, iflib_crcstrip,
|
|||||||
int iflib_rx_miss, iflib_rx_miss_bufs;
|
int iflib_rx_miss, iflib_rx_miss_bufs;
|
||||||
SYSCTL_INT(_dev_netmap, OID_AUTO, iflib_rx_miss,
|
SYSCTL_INT(_dev_netmap, OID_AUTO, iflib_rx_miss,
|
||||||
CTLFLAG_RW, &iflib_rx_miss, 0, "potentially missed rx intr");
|
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");
|
CTLFLAG_RW, &iflib_rx_miss_bufs, 0, "potentially missed rx intr bufs");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user