Thread (1 message) flat view 1 message, 1 author, 2014-11-26

Re: [PATCH v4 20/42] virtio_net: pass vi around

From: Cornelia Huck <hidden>
Date: 2014-11-26 12:35:37
Also in: lkml, netdev

On Tue, 25 Nov 2014 18:42:49 +0200
"Michael S. Tsirkin" [off-list ref] 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@redhat.com>
---
 drivers/net/virtio_net.c | 38 ++++++++++++++++++++------------------
 1 file changed, 20 insertions(+), 18 deletions(-)
Looks reasonable.

Reviewed-by: Cornelia Huck <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help