numam-dpdk/drivers
Jianfeng Tan 58d9fe4000 net/virtio: fix link status always down
The virtio port link status will always be DOWN:

The commit aa9f060617 ("net/virtio: fix link status always being up")
introduces a flag to help checking the status. If this flag is not set,
status will be always down. However, in dev start, this flag is set
after link status update, then we miss the chance to change the status
to UP in dev start.

To fix this bug, we simply move the link status update after the flag
setting so that the status can be correctly updated.

Fixes: aa9f060617 ("net/virtio: fix link status always being up")
Cc: stable@dpdk.org

Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2017-04-28 07:01:22 +02:00
..
bus bus/fslmc: add packet frame list entry definitions 2017-04-20 11:32:45 +02:00
crypto crypto/scheduler: fix missing includes 2017-05-01 00:13:15 +02:00
event event/sw: fix events mis-identified as needing reorder 2017-04-20 00:30:04 +02:00
mempool mempool/dpaa2: add hardware offloaded mempool 2017-04-19 15:37:37 +02:00
net net/virtio: fix link status always down 2017-04-28 07:01:22 +02:00
Makefile crypto/dpaa2_sec: introduce poll mode driver 2017-04-20 11:32:45 +02:00