summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorpluknet <pluknet@FreeBSD.org>2012-03-23 10:33:24 +0000
committerpluknet <pluknet@FreeBSD.org>2012-03-23 10:33:24 +0000
commit4e698dcf9e2c7d2ecb557b019c1407bea903863f (patch)
tree25c320e65a32c32fee172e1b9e3602909e5248b5 /share
parent2ecce295478996b75e70aa9e26fd25da1076556f (diff)
downloadFreeBSD-src-4e698dcf9e2c7d2ecb557b019c1407bea903863f.zip
FreeBSD-src-4e698dcf9e2c7d2ecb557b019c1407bea903863f.tar.gz
Clean up from the old kern.polling.
Reviewed by: attilio MFC after: 1 week
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/ifnet.958
1 files changed, 10 insertions, 48 deletions
diff --git a/share/man/man9/ifnet.9 b/share/man/man9/ifnet.9
index 2055cb6..584bd7c 100644
--- a/share/man/man9/ifnet.9
+++ b/share/man/man9/ifnet.9
@@ -798,20 +798,7 @@ The capability of a network interface to operate in
.Xr polling 4
mode involves several flags in different
global variables and per-interface fields.
-First, there is a system-wide
-.Xr sysctl 8
-master switch named
-.Va kern.polling.enable ,
-which can toggle
-.Xr polling 4
-globally.
-If that variable is set to non-zero,
-.Xr polling 4
-will be used on those devices where it is enabled individually.
-Otherwise,
-.Xr polling 4
-will not be used in the system.
-Second, the capability flag
+The capability flag
.Dv IFCAP_POLLING
set in interface's
.Va if_capabilities
@@ -821,20 +808,19 @@ on the particular interface.
If set in
.Va if_capabilities ,
the same flag can be marked or cleared in the interface's
-.Va if_capenable ,
+.Va if_capenable
+within
+.Fn ifioctl ,
thus initiating switch of the interface to
.Xr polling 4
mode or interrupt
mode, respectively.
-The actual mode change will occur at an implementation-specific moment
-in the future, e.g., during the next interrupt or
-.Xr polling 4
-cycle.
-And finally, if the mode transition has been successful, the flag
-.Dv IFF_POLLING
-is marked or cleared in the interface's
-.Va if_flags
-to indicate the current mode of the interface.
+The actual mode change is managed by the driver-specific
+.Fn if_ioctl
+routine.
+The
+.Xr polling
+handler returns the number of packets processed.
.Ss The Vt if_data Ss Structure
The
.Vt if_data
@@ -880,18 +866,6 @@ to attempt to ensure that there is always
sufficient space to prepend a link-layer header without allocating an
additional
.Vt mbuf .
-.\" (See
-.\" .Xr mbuf 9 . )
-.\" .It Va ifi_recvquota
-.\" .Pq Vt u_char
-.\" Number of packets the interface is permitted to receive at one time
-.\" when in polled mode.
-.\" .It Va ifi_xmitquota
-.\" .Pq Vt u_char
-.\" Number of packets the interface is permitted to queue for transmission
-.\" at one time when in polled mode.
-.\" There is some controversy over
-.\" whether such a restriction makes any sense at all.
.It Va ifi_datalen
.Pq Vt u_char
Length of the
@@ -972,18 +946,6 @@ Number of packets dropped on input.
Rarely implemented.
.It Va ifi_noproto
Number of packets received for unknown network-layer protocol.
-.\" .It Va ifi_recvtiming
-.\" Amount of time, in microseconds, spent to receive an average packet on
-.\" this interface.
-.\" See the
-.\" .Sx Polling
-.\" section, below.
-.\" .It Va ifi_xmittiming
-.\" Amount of time, in microseconds, spent to service a transmit-complete
-.\" interrupt on this interface.
-.\" See the
-.\" .Sx Polling
-.\" section, below.
.It Va ifi_lastchange
.Pq Vt "struct timeval"
The time of the last administrative change to the interface (as required
OpenPOWER on IntegriCloud