1
0
mirror of https://github.com/fumiama/water.git synced 2026-06-24 14:06:14 +08:00

Add comment about MultiQueue

Signed-off-by: Tony Lu <tonyluj@gmail.com>
This commit is contained in:
Tony Lu
2017-08-24 02:45:01 +08:00
parent 9effada2e6
commit 21ef3573b9

4
if.go
View File

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