* [PATCH man-page] packet.7: document PACKET_QDISC_BYPASS
@ 2013-12-10 15:31 Daniel Borkmann
[not found] ` <1386689485-18833-1-git-send-email-dborkman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Daniel Borkmann @ 2013-12-10 15:31 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, brouer-H+wXaHxf7aLQT0dZR+AlfA
Add a comment about PACKET_QDISC_BYPASS' socket option to the kernel.
Signed-off-by: Daniel Borkmann <dborkman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
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.
.SS Ioctls
.B SIOCGSTAMP
--
1.8.3.1
--
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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH man-page] packet.7: document PACKET_QDISC_BYPASS
[not found] ` <1386689485-18833-1-git-send-email-dborkman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2014-01-07 23:34 ` Michael Kerrisk (man-pages)
[not found] ` <CAKgNAkiW5hnYZqUYQv_mWeGyVNgN+Edu5uViX2PxVwhrrGnOQg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-28 14:24 ` Michael Kerrisk (man-pages)
1 sibling, 1 reply; 6+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-01-07 23:34 UTC (permalink / raw)
To: Daniel Borkmann; +Cc: linux-man, brouer-H+wXaHxf7aLQT0dZR+AlfA
On Wed, Dec 11, 2013 at 4:31 AM, Daniel Borkmann <dborkman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
> Add a comment about PACKET_QDISC_BYPASS' socket option to the kernel.
Daniel, could you ping me again when this goes into the mainline kernel?
Cheers,
Michael
> Signed-off-by: Daniel Borkmann <dborkman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> ---
> 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.
>
> .SS Ioctls
> .B SIOCGSTAMP
> --
> 1.8.3.1
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH man-page] packet.7: document PACKET_QDISC_BYPASS
[not found] ` <CAKgNAkiW5hnYZqUYQv_mWeGyVNgN+Edu5uViX2PxVwhrrGnOQg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2014-01-07 23:37 ` Daniel Borkmann
2014-01-26 13:30 ` Daniel Borkmann
1 sibling, 0 replies; 6+ messages in thread
From: Daniel Borkmann @ 2014-01-07 23:37 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
Cc: linux-man, brouer-H+wXaHxf7aLQT0dZR+AlfA, Willem de Bruijn
On 01/08/2014 12:34 AM, Michael Kerrisk (man-pages) wrote:
> On Wed, Dec 11, 2013 at 4:31 AM, Daniel Borkmann <dborkman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
>> Add a comment about PACKET_QDISC_BYPASS' socket option to the kernel.
>
> Daniel, could you ping me again when this goes into the mainline kernel?
Sure, will do. It's sitting in net-next and will be pulled in with the
upcoming merge window in ~ 1 week or so.
I can ping you again for the PACKET_QDISC_BYPASS sockopt.
Thanks,
Daniel
> Cheers,
>
> Michael
>
>
>> Signed-off-by: Daniel Borkmann <dborkman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
>> ---
>> 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.
>>
>> .SS Ioctls
>> .B SIOCGSTAMP
>> --
>> 1.8.3.1
>>
>
>
>
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH man-page] packet.7: document PACKET_QDISC_BYPASS
[not found] ` <CAKgNAkiW5hnYZqUYQv_mWeGyVNgN+Edu5uViX2PxVwhrrGnOQg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-07 23:37 ` Daniel Borkmann
@ 2014-01-26 13:30 ` Daniel Borkmann
1 sibling, 0 replies; 6+ messages in thread
From: Daniel Borkmann @ 2014-01-26 13:30 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
Cc: linux-man, brouer-H+wXaHxf7aLQT0dZR+AlfA
On 01/08/2014 12:34 AM, Michael Kerrisk (man-pages) wrote:
> On Wed, Dec 11, 2013 at 4:31 AM, Daniel Borkmann <dborkman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
>> Add a comment about PACKET_QDISC_BYPASS' socket option to the kernel.
>
> Daniel, could you ping me again when this goes into the mainline kernel?
Ping. ;)
> Cheers,
>
> Michael
>
>
>> Signed-off-by: Daniel Borkmann <dborkman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
>> ---
>> 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.
>>
>> .SS Ioctls
>> .B SIOCGSTAMP
>> --
>> 1.8.3.1
>>
>
>
>
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH man-page] packet.7: document PACKET_QDISC_BYPASS
[not found] ` <1386689485-18833-1-git-send-email-dborkman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-01-07 23:34 ` Michael Kerrisk (man-pages)
@ 2014-01-28 14:24 ` Michael Kerrisk (man-pages)
[not found] ` <52E7BDAD.7010005-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
1 sibling, 1 reply; 6+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-01-28 14:24 UTC (permalink / raw)
To: Daniel Borkmann
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
linux-man-u79uwXL29TY76Z2rM5mHXA, brouer-H+wXaHxf7aLQT0dZR+AlfA
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-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> ---
> 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.
Or something like that. Also, can you elaborate a little on what
pktgen is please.
Thanks,
Michael
> .SS Ioctls
> .B SIOCGSTAMP
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH man-page] packet.7: document PACKET_QDISC_BYPASS
[not found] ` <52E7BDAD.7010005-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2014-01-28 14:26 ` Daniel Borkmann
0 siblings, 0 replies; 6+ messages in thread
From: Daniel Borkmann @ 2014-01-28 14:26 UTC (permalink / raw)
To: Michael Kerrisk (man-pages)
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, brouer-H+wXaHxf7aLQT0dZR+AlfA
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-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
>> ---
>> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-01-28 14:26 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-10 15:31 [PATCH man-page] packet.7: document PACKET_QDISC_BYPASS Daniel Borkmann
[not found] ` <1386689485-18833-1-git-send-email-dborkman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-01-07 23:34 ` Michael Kerrisk (man-pages)
[not found] ` <CAKgNAkiW5hnYZqUYQv_mWeGyVNgN+Edu5uViX2PxVwhrrGnOQg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-07 23:37 ` Daniel Borkmann
2014-01-26 13:30 ` Daniel Borkmann
2014-01-28 14:24 ` Michael Kerrisk (man-pages)
[not found] ` <52E7BDAD.7010005-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-01-28 14:26 ` Daniel Borkmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).