mirror of
https://github.com/yggdrasil-network/water.git
synced 2025-05-19 16:35:10 +03:00
Add comment about MultiQueue
Signed-off-by: Tony Lu <tonyluj@gmail.com>
This commit is contained in:
parent
9effada2e6
commit
21ef3573b9
1 changed files with 4 additions and 0 deletions
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue