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

@@ -767,3 +767,7 @@ func (t *tun) WriteMany(x []*packet.OutPacket, q int) (int, error) {
}
return maximum, nil
}
func (t *tun) RecycleRxSeg(pkt *packet.VirtIOPacket, kick bool, q int) error {
return t.vdev[q].ReceiveQueue.OfferDescriptorChains(pkt.Chains, kick)
}