Documentation ¶
Overview ¶
Package gro implements generic receive offload.
Index ¶
- type GRO
- func (gd *GRO) Enqueue(pkt *stack.PacketBuffer)
- func (gd *GRO) Flush()
- func (gd *GRO) Init(enabled bool)
- func (gd *GRO) StateFields() []string
- func (gd *GRO) StateLoad(ctx context.Context, stateSourceObject state.Source)
- func (gd *GRO) StateSave(stateSinkObject state.Sink)
- func (gd *GRO) StateTypeName() string
- func (gd *GRO) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRO ¶
type GRO struct { Dispatcher stack.NetworkDispatcher // contains filtered or unexported fields }
GRO coalesces incoming packets to increase throughput.
+stateify savable
func (*GRO) Enqueue ¶
func (gd *GRO) Enqueue(pkt *stack.PacketBuffer)
Enqueue the packet in GRO. This does not flush packets; Flush() must be called explicitly for that.
pkt.NetworkProtocolNumber and pkt.RXChecksumValidated must be set.
func (*GRO) StateFields ¶
func (*GRO) StateTypeName ¶
Click to show internal directories.
Click to hide internal directories.