mirror of
https://github.com/fumiama/water.git
synced 2026-06-24 22:10:34 +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.
|
// 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 {
|
type Interface struct {
|
||||||
isTAP bool
|
isTAP bool
|
||||||
io.ReadWriteCloser
|
io.ReadWriteCloser
|
||||||
|
|||||||
Reference in New Issue
Block a user