On 10/22/21 15:17, Andrew Rybchenko wrote:
From: Ivan Ilchenko <[email protected]> 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: 1357b4b36246 ("net/virtio: support Virtio link speed feature") Cc: [email protected] Signed-off-by: Ivan Ilchenko <[email protected]> Signed-off-by: Andrew Rybchenko <[email protected]> --- drivers/net/virtio/virtio.h | 5 ++++ drivers/net/virtio/virtio_ethdev.c | 47 +++++++++++++++++++++--------- 2 files changed, 39 insertions(+), 13 deletions(-)
Applied to dpdk-next-virtio/main with suggested change. Thanks, Maxime

