Messages in this thread | | | Date | Fri, 12 Nov 2010 12:25:53 -0800 (PST) | Subject | Re: [V2 PATCH] virtio-net: init link state correctly | From | David Miller <> |
| |
From: Jason Wang <jasowang@redhat.com> Date: Fri, 05 Nov 2010 10:50:08 +0800
> For device that supports VIRTIO_NET_F_STATUS, there's no need to > assume the link is up and we need to call nerif_carrier_off() before > querying device status, otherwise we may get wrong operstate after > diver was loaded because the link watch event was not fired as > expected. > > For device that does not support VIRITO_NET_F_STATUS, we could not get > its status through virtnet_update_status() and what we can only do is > always assuming the link is up. > > Signed-off-by: Jason Wang <jasowang@redhat.com>
I've applied Rusty's submission of this patch which has Michael T.'s ACK, etc.
| |