net/virtio: set default speed unknown
authorIvan Dyukov <i.dyukov@samsung.com>
Tue, 22 Sep 2020 21:18:01 +0000 (00:18 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 21:16:55 +0000 (23:16 +0200)
commitb415b7a06856b148ace29ffcc6e9740a12b9ec33
treefdd539f0fb44af7587aaeb2f5e91a9059c5a49c6
parenteca9a0d6c8436eba70e60873dd5625bd52a65262
net/virtio: set default speed unknown

rte_ethdev states new rule for NICs: they should return UNKNOWN
speed if speed is unknown and interface is up, in case of down
interface, NONE speed should be returned.

Signed-off-by: Ivan Dyukov <i.dyukov@samsung.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
doc/guides/nics/virtio.rst
doc/guides/rel_notes/release_20_11.rst
drivers/net/virtio/virtio_ethdev.c