From 21ef3573b938c6da4e14150429bcb5ba31691227 Mon Sep 17 00:00:00 2001 From: Tony Lu Date: Thu, 24 Aug 2017 02:45:01 +0800 Subject: [PATCH] Add comment about MultiQueue Signed-off-by: Tony Lu --- if.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/if.go b/if.go index 9f90485..965f2ac 100644 --- a/if.go +++ b/if.go @@ -6,6 +6,10 @@ import ( ) // Interface is a TUN/TAP interface. +// +// MultiQueue(Linux kernel > 3.8): With MultiQueue enabled, user should hold multiple +// interfaces to send/receive packet in parallel. +// Kernel document about MultiQueue: https://www.kernel.org/doc/Documentation/networking/tuntap.txt type Interface struct { isTAP bool io.ReadWriteCloser