packet.7: Improve PACKET_QDISC_BYPASS description

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Daniel Borkmann 2014-02-14 11:34:26 +01:00 committed by Michael Kerrisk
parent 1260477b62
commit 2203837f14
1 changed files with 8 additions and 3 deletions

View File

@ -435,9 +435,14 @@ integer option before creating the ring.
.BR PACKET_QDISC_BYPASS " (since Linux 3.14)"
.\" commit d346a3fae3ff1d99f5d0c819bf86edf9094a26a1
By default, packets sent through packet sockets pass through the kernel's
qdisc (traffic control) layer.
This can be bypassed by setting this integer option to 1;
this is useful for usage scenarios similar to pktgen.
qdisc (traffic control) layer, which is fine for the vast majority of use
cases.
For traffic generator appliances using packet socket that intend to flood
the network with brute force i.e., to test devices under load in a similar
fashion to pktgen, this layer can be bypassed by setting this integer option
to 1. Side-effects are that packet buffering in qdisc layer is avoided
which will lead to increased drops when net device transmit queues are busy;
therefore, use at your own risk.
.SS Ioctls
.B SIOCGSTAMP
can be used to receive the timestamp of the last received packet.