Re: [PATCH man-page] packet.7: document PACKET_QDISC_BYPASS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/28/2014 03:24 PM, Michael Kerrisk (man-pages) wrote:
Daniel,

I've applied this patch. I have a question below.

On 12/10/2013 04:31 PM, Daniel Borkmann wrote:
Add a comment about PACKET_QDISC_BYPASS' socket option to the kernel.

Signed-off-by: Daniel Borkmann <dborkman@xxxxxxxxxx>
---
  Michael, this patch is on top of Willem's resend for packet.7:
  http://www.spinics.net/lists/linux-man/msg04576.html

  Kernel part of this man page update:
  https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=d346a3fae3ff1d99f5d0c819bf86edf9094a26a1

  Thanks!

  man7/packet.7 | 5 +++++
  1 file changed, 5 insertions(+)

diff --git a/man7/packet.7 b/man7/packet.7
index e0993d2..100f876 100644
--- a/man7/packet.7
+++ b/man7/packet.7
@@ -426,6 +426,11 @@ creates a packet receive ring of variant
  .BR TPACKET_V1 .
  To create another variant, configure the desired variant by setting this
  integer option before creating the ring.
+.TP
+.BR PACKET_QDISC_BYPASS " (since Linux 3.14)"
+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 one for usage scenarios similar to pktgen.

This last sentence is a little unclear. Would it be better as:

This can be bypassed by setting this integer
option to one; this is useful for usage scenarios similar to pktgen.

Yes, sounds good to me, thanks Michael.

Or something like that. Also, can you elaborate a little on what
pktgen is please.

Thanks,

Michael



  .SS Ioctls
  .B SIOCGSTAMP



--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux