"Michael S. Tsirkin" writes:
> 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
> cleaner, and might even be faster.
Agreed, it's neater.
Acked-by: Rusty Russell
Thanks,
Rusty.
>
> Signed-off-by: Michael S. Tsirkin
>
On Fri, Oct 24, 2014 at 10:02:15AM +, David Laight wrote:
> From: Michael S. Tsirkin
>
> > 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
> > cleaner, and might even be faster.
> >
> > Signed-off-by: Michael S. T
From: Michael S. Tsirkin
> 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
> cleaner, and might even be faster.
>
> Signed-off-by: Michael S. Tsirkin
> ---
> drivers/net/virtio_net.c | 36 +++--
3 matches
Mail list logo