diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2009-08-15 23:07:43 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2009-08-15 23:07:43 +0000 |
commit | a38fdf294650bdfc673c39fab49ae14f2c33feea (patch) | |
tree | d2b8c8d439a64332c690ba6a2ca9c5df822ab8f4 /share/man/man4/polling.4 | |
parent | d931ea0961d8d76c16c5dda42b2609b362948417 (diff) | |
download | src-a38fdf294650bdfc673c39fab49ae14f2c33feea.tar.gz src-a38fdf294650bdfc673c39fab49ae14f2c33feea.zip |
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)
Notes
Notes:
svn path=/head/; revision=196267
Diffstat (limited to 'share/man/man4/polling.4')
-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 fea0bfb79882..2c711cc7d8d6 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 |