Page MenuHomeFreeBSD

if_vtnet: Support VIRTIO_NET_F_SPEED_DUPLEX
ClosedPublic

Authored by bryanv on Jan 2 2021, 8:58 PM.

Details

Summary

This features lets the guest driver know the speed and duplex of
the "link". Instead of trying to support many media types based
on the possible/likley speeds/duplexes, only use the speed to
set the interface baudrate.

Cleanup ifmedia code to match other drivers.

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

bryanv published this revision for review.Jan 2 2021, 10:00 PM
This revision was not accepted when it landed; it landed in state Needs Review.Jan 19 2021, 5:11 AM
This revision was automatically updated to reflect the committed changes.