From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Borkmann Subject: Re: [PATCH man-page] packet.7: document PACKET_QDISC_BYPASS Date: Tue, 28 Jan 2014 15:26:39 +0100 Message-ID: <52E7BE1F.50206@redhat.com> References: <1386689485-18833-1-git-send-email-dborkman@redhat.com> <52E7BDAD.7010005@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <52E7BDAD.7010005-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Michael Kerrisk (man-pages)" Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, brouer-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org List-Id: linux-man@vger.kernel.org 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 >> --- >> 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html