Re: [dpdk-dev] [PATCH] net/virtio: fix link status always being up

2017-04-18 Thread Yuanhan Liu
On Fri, Apr 14, 2017 at 02:36:45PM +0800, Yuanhan Liu wrote: > The virtio port link status will always be UP, even the port is stopped: > > testpmd> port stop 0 > Stopping ports... > Checking link statuses... > Port 0 Link Up - speed 1 Mbps - full-duplex > Done > > The lin

[dpdk-dev] [PATCH] net/virtio: fix link status always being up

2017-04-13 Thread Yuanhan Liu
The virtio port link status will always be UP, even the port is stopped: testpmd> port stop 0 Stopping ports... Checking link statuses... Port 0 Link Up - speed 1 Mbps - full-duplex Done The link status is queried by link_update callback when LSC is disabled. Which in turn