[dpdk-dev] [PATCH] virtio: remove obsolete comment

2016-09-05 Thread Matthias Gatto
On Mon, Sep 5, 2016 at 4:25 AM, Yuanhan Liu wrote: > On Fri, Sep 02, 2016 at 05:05:21PM +0200, Matthias Gatto wrote: >> As new_device and destroy_device use an int instead of a "struct virtio_net >> *", >> The comment about setting VIRTIO_DEV_RUNNING doesn't make sense anymore, plus >> If I've c

[dpdk-dev] [PATCH] virtio: remove obsolete comment

2016-09-05 Thread Yuanhan Liu
On Fri, Sep 02, 2016 at 05:05:21PM +0200, Matthias Gatto wrote: > As new_device and destroy_device use an int instead of a "struct virtio_net > *", > The comment about setting VIRTIO_DEV_RUNNING doesn't make sense anymore, plus > If I've correctly understand the code, the drivers take care of > se

[dpdk-dev] [PATCH] virtio: remove obsolete comment

2016-09-02 Thread Matthias Gatto
As new_device and destroy_device use an int instead of a "struct virtio_net *", The comment about setting VIRTIO_DEV_RUNNING doesn't make sense anymore, plus If I've correctly understand the code, the drivers take care of setting the flag before calling the callbacks, so I guess that this comment i