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:
4
if.go
4
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
|
||||
|
||||
Reference in New Issue
Block a user