lkml.org 
[lkml]   [2014]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v4 20/42] virtio_net: pass vi around
    On Tue, 25 Nov 2014 18:42:49 +0200
    "Michael S. Tsirkin" <mst@redhat.com> 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 <cornelia.huck@de.ibm.com>



    \
     
     \ /
      Last update: 2014-11-26 14:01    [W:4.124 / U:0.192 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site