less garbage

This commit is contained in:
JackDoan
2025-11-17 13:30:02 -06:00
parent f07275edff
commit 625acb7cc0
7 changed files with 16 additions and 15 deletions

View File

@@ -22,6 +22,7 @@ type TunDev interface {
AllocSeg(pkt *packet.OutPacket, q int) (int, error)
WriteOne(x *packet.OutPacket, kick bool, q int) (int, error)
WriteMany(x []*packet.OutPacket, q int) (int, error)
RecycleRxSeg(pkt *packet.VirtIOPacket, kick bool, q int) error
}
// TODO: We may be able to remove routines