diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-08-15 23:07:43 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-08-15 23:07:43 +0000 |
commit | 400012e1fe3a91b1e1ba25400408cb2a46974743 (patch) | |
tree | d2b8c8d439a64332c690ba6a2ca9c5df822ab8f4 /share | |
parent | e905082a5a59cce82377b1bf910e37f03c0eb91c (diff) | |
download | FreeBSD-src-400012e1fe3a91b1e1ba25400408cb2a46974743.zip FreeBSD-src-400012e1fe3a91b1e1ba25400408cb2a46974743.tar.gz |
Rather than fix questionable ifnet list locking in the implementation of
the kern.polling.enable sysctl, remove the sysctl. It has been deprecated
since FreeBSD 6 in favour of per-ifnet polling flags.
Reviewed by: luigi
Approved by: re (kib)
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/polling.4 | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/share/man/man4/polling.4 b/share/man/man4/polling.4 index fea0bfb..2c711cc 100644 --- a/share/man/man4/polling.4 +++ b/share/man/man4/polling.4 @@ -87,6 +87,16 @@ feature. It is turned on and off with help of .Xr ifconfig 8 command. +.Pp +The historic +.Va kern.polling.enable , +which enabled polling for all interfaces, can be replaced with the following +code: +.Bd -literal +for i in `ifconfig -l` ; + do ifconfig $i polling; # use -polling to disable +done +.Ed .Ss MIB Variables The operation of .Nm @@ -156,15 +166,6 @@ Default is 20. How many active devices have registered for .Nm . .Pp -.It Va kern.polling.enable -Legacy MIB, that was used to enable or disable polling globally. -Currently if set to 1, -.Nm -is enabled on all capable interfaces. -If set to 0, -.Nm -is disabled on all interfaces. -.Pp .It Va kern.polling.short_ticks .It Va kern.polling.lost_polls .It Va kern.polling.pending_polls |