summaryrefslogtreecommitdiff
path: root/share/man/man9/ifiq_input.9
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2020-06-05 05:33:59 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2020-06-05 05:33:59 +0000
commit7cb12d59035f9b22505a73cd45653888e583e010 (patch)
tree6561a3004c9447ed1c334a880c06a3d459d6a576 /share/man/man9/ifiq_input.9
parentdec1469a92bb1bf8d0b6fd0322e2d83796ec7ab3 (diff)
tweak previous;
Diffstat (limited to 'share/man/man9/ifiq_input.9')
-rw-r--r--share/man/man9/ifiq_input.99
1 files changed, 5 insertions, 4 deletions
diff --git a/share/man/man9/ifiq_input.9 b/share/man/man9/ifiq_input.9
index a6241123bf3..fbace4413c2 100644
--- a/share/man/man9/ifiq_input.9
+++ b/share/man/man9/ifiq_input.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ifiq_input.9,v 1.2 2020/06/05 02:26:50 dlg Exp $
+.\" $OpenBSD: ifiq_input.9,v 1.3 2020/06/05 05:33:58 jmc Exp $
.\"
.\" Copyright (c) 2020 David Gwynne <dlg@openbsd.org>
.\"
@@ -39,7 +39,7 @@ on the
.Fa ifiq
interface input queue and notify the network stack to process them.
If the queue rejects the packets they will be freed
-and counted as as drops.
+and counted as drops.
.It Fn ifiq_enqueue "struct ifiqueue *ifq" "struct mbuf *m"
Enqueue the mbuf
.Fa m
@@ -48,7 +48,7 @@ on the
interface input queue and notify the network stack to process it.
.El
.Sh CONTEXT
-.Fn ifiq_input ,
+.Fn ifiq_input
and
.Fn ifiq_enqueue
can be called during autoconf, from process context, or from interrupt context.
@@ -57,7 +57,8 @@ can be called during autoconf, from process context, or from interrupt context.
returns a non-zero value if mbufs are queued too rapidly for the
stack to process.
If possible, the caller should attempt to reduce the number of mbufs
-being generated in the future, eg, if mbufs are being received from
+being generated in the future.
+For example, if mbufs are being received from
hardware managed with the interface RX ring API,
.Xr if_rxr_livelocked 9
can be called to indicate to the hardware that backpressure is required.