Re: [dpdk-dev] [PATCH] net/virtio: fix link update in speed feature case

2021-10-29 Thread Maxime Coquelin
On 10/22/21 15:17, Andrew Rybchenko wrote: From: Ivan Ilchenko 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

Re: [dpdk-dev] [PATCH] net/virtio: fix link update in speed feature case

2021-10-29 Thread Andrew Rybchenko
On 10/29/21 12:42 PM, Maxime Coquelin wrote: On 10/22/21 15:17, Andrew Rybchenko wrote: From: Ivan Ilchenko 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 th

Re: [dpdk-dev] [PATCH] net/virtio: fix link update in speed feature case

2021-10-29 Thread Maxime Coquelin
On 10/22/21 15:17, Andrew Rybchenko wrote: From: Ivan Ilchenko 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

[dpdk-dev] [PATCH] net/virtio: fix link update in speed feature case

2021-10-22 Thread Andrew Rybchenko
From: Ivan Ilchenko 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 fa