numam-dpdk/drivers/net/virtio
Ivan Ilchenko 3c3c54cfa6 net/virtio: fix link update in speed feature
Link update callback reports speed/duplex based on data
filled on device initialization. This is wrong in case of
VIRTIO_NET_F_SPEED_DUPLEX is negotiated since link could
be down at this time. Fix this function to actually
update the HW data in this case with respect to the fact
that specifying speed via devarg is a highest priority.

Fixes: 1357b4b362 ("net/virtio: support Virtio link speed feature")
Cc: stable@dpdk.org

Signed-off-by: Ivan Ilchenko <ivan.ilchenko@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2021-10-29 12:32:30 +02:00
..
virtio_user drivers: remove direct access to interrupt handle 2021-10-25 21:20:12 +02:00
meson.build
version.map
virtio_ethdev.c net/virtio: fix link update in speed feature 2021-10-29 12:32:30 +02:00
virtio_ethdev.h net/virtio: support RSS 2021-10-29 11:23:10 +02:00
virtio_logs.h
virtio_pci_ethdev.c net/virtio: remove blank lines in log 2021-09-28 21:23:00 +02:00
virtio_pci.c net/virtio: remove blank lines in log 2021-09-28 21:23:00 +02:00
virtio_pci.h
virtio_ring.h
virtio_rxtx_packed_avx.h net/virtio: revert forcing IOVA as VA mode for virtio-user 2021-09-30 12:58:09 +02:00
virtio_rxtx_packed_neon.h net/virtio: revert forcing IOVA as VA mode for virtio-user 2021-09-30 12:58:09 +02:00
virtio_rxtx_packed.c net/virtio: fix oversized packets in vectorized Rx 2021-10-21 14:24:21 +02:00
virtio_rxtx_packed.h mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
virtio_rxtx_simple_altivec.c
virtio_rxtx_simple_neon.c
virtio_rxtx_simple_sse.c
virtio_rxtx_simple.c
virtio_rxtx_simple.h net/virtio: revert forcing IOVA as VA mode for virtio-user 2021-09-30 12:58:09 +02:00
virtio_rxtx.c mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
virtio_rxtx.h
virtio_user_ethdev.c net/virtio: revert forcing IOVA as VA mode for virtio-user 2021-09-30 12:58:09 +02:00
virtio.c net/virtio: wait device ready during reset 2021-09-28 17:26:50 +02:00
virtio.h net/virtio: fix link update in speed feature 2021-10-29 12:32:30 +02:00
virtqueue.c net/virtio: fix indirect descriptor reconnection 2021-10-21 14:24:21 +02:00
virtqueue.h net/virtio: support RSS 2021-10-29 11:23:10 +02:00