Re: [PATCH v4 20/42] virtio_net: pass vi around
From: Cornelia Huck
Date: Wed Nov 26 2014 - 07:35:39 EST
On Tue, 25 Nov 2014 18:42:49 +0200
"Michael S. Tsirkin" <mst@xxxxxxxxxx> wrote:
> Too many places poke at [rs]q->vq->vdev->priv just to get
> the the vi structure. Let's just pass the pointer around: seems
s/the the/the/
> cleaner, and might even be faster.
>
> Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
> ---
> drivers/net/virtio_net.c | 38 ++++++++++++++++++++------------------
> 1 file changed, 20 insertions(+), 18 deletions(-)
>
Looks reasonable.
Reviewed-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/