Page MenuHomeFreeBSD

Add netdump hooks for vtnet(4).
ClosedPublic

Authored by markj on May 1 2018, 5:24 PM.
Tags
None
Referenced Files
F163104910: D15261.id42048.diff
Mon, Jul 20, 3:11 AM
Unknown Object (File)
Sat, Jul 18, 3:03 AM
Unknown Object (File)
Tue, Jul 14, 6:21 PM
Unknown Object (File)
Tue, Jul 7, 7:51 PM
Unknown Object (File)
Fri, Jul 3, 1:24 AM
Unknown Object (File)
Wed, Jul 1, 2:52 AM
Unknown Object (File)
Mon, Jun 29, 10:02 PM
Unknown Object (File)
Jun 7 2026, 1:37 PM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.May 2 2018, 6:24 AM
sys/dev/virtio/network/if_vtnet.c
4029 ↗(On Diff #42048)

vtnet_txq_notify can return non-zero but I don't think you consider that an error: if it was able to drain enough completed mbufs it returns non-zero so that the caller can continue transmitting. Since you're transmitting one mbuf here and are polling I think you can just ignore the return value.

markj marked an inline comment as done.May 4 2018, 7:39 PM
This revision was automatically updated to reflect the committed changes.