Page MenuHomeFreeBSD

Add netdump hooks for vtnet(4).
ClosedPublic

Authored by markj on May 1 2018, 5:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 7, 1:37 PM
Unknown Object (File)
Thu, May 14, 9:43 AM
Unknown Object (File)
May 14 2026, 2:32 AM
Unknown Object (File)
May 13 2026, 6:28 PM
Unknown Object (File)
May 11 2026, 5:12 PM
Unknown Object (File)
May 10 2026, 11:27 PM
Unknown Object (File)
May 10 2026, 11:27 PM
Unknown Object (File)
May 1 2026, 11:08 PM
Subscribers

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 16384
Build 16312: arc lint + arc unit

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

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.