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 net/virtio: fix aarch32 build 2021-07-09 20:00:06 +02:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00
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 net/virtio: fix secondary process crash with PCI devices 2021-02-04 18:19:36 +01:00
virtio_ring.h net/virtio: move features definition to generic header 2021-01-29 18:16:09 +01:00
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 net/virtio: fix vectorized Rx queue rearm 2021-05-04 10:08:11 +02:00
virtio_rxtx_simple_neon.c net/virtio: fix vectorized Rx queue rearm 2021-05-04 10:08:11 +02:00
virtio_rxtx_simple_sse.c net/virtio: fix vectorized Rx queue rearm 2021-05-04 10:08:11 +02:00
virtio_rxtx_simple.c ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
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 net/virtio: allocate fake mbuf in Rx queue 2021-03-31 07:31:41 +02:00
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