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

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

 



On 01/08/2014 12:34 AM, Michael Kerrisk (man-pages) wrote:
On Wed, Dec 11, 2013 at 4:31 AM, Daniel Borkmann <dborkman@xxxxxxxxxx> 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@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.

  .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@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