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)
Tue, Sep 8, 1:15 PM
Unknown Object (File)
Sat, Sep 5, 9:02 PM
Unknown Object (File)
Sat, Sep 5, 8:08 AM
Unknown Object (File)
Sat, Sep 5, 5:54 AM
Unknown Object (File)
Fri, Sep 4, 4:50 AM
Unknown Object (File)
Thu, Sep 3, 6:11 AM
Unknown Object (File)
Wed, Sep 2, 4:43 PM
Unknown Object (File)
Wed, Sep 2, 4:49 AM
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.