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
@ -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");
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user