HomeFreeBSD

if_vtnet: Support VIRTIO_NET_F_SPEED_DUPLEX

Description

if_vtnet: Support VIRTIO_NET_F_SPEED_DUPLEX

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/likely speeds/duplexes, only use the speed to
set the interface baudrate.

Cleanup ifmedia code to match other drivers.

Reviewed by: grehan (mentor)
Differential Revision: https://reviews.freebsd.org/D27908

Details

Provenance
bryanvAuthored on Jan 19 2021, 4:55 AM
Reviewer
grehan
Differential Revision
D27908: if_vtnet: Support VIRTIO_NET_F_SPEED_DUPLEX
Parents
R10:aabdf5b6e8e8: if_vtnet: Support VIRTIO_NET_F_MTU
Branches
Unknown
Tags
Unknown