Re: [PATCH v3 2/4] virtio_net: Add a set_rx_mode interface

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alex Williamson
Date: Monday, February 2, 2009 - 2:34 pm

Hi Rusty,

On Mon, 2009-02-02 at 20:22 +1030, Rusty Russell wrote:

I think the caller still ends up passing the counts of out and in
entries here or else we have to walk the lists in send_command().
Doable, but doesn't seem to be common practice that I can find.  We
should also then clear the termination once we copy the sg[] into our
own, but functions to do that don't seem to exist (need an
sg_unmark_end()).  I had avoided anything that would call
sg_init_table() on the caller provided sg[] to avoid that problem, does
it need to be addressed?


Yes, and yes to moving it to the c file, no need to expose it.  Thanks,

Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v2 0/4] virtio_net: Add MAC and VLAN filtering, Alex Williamson, (Thu Jan 29, 4:05 pm)
[PATCH v2 2/4] virtio_net: Add a set_rx_mode interface, Alex Williamson, (Thu Jan 29, 4:05 pm)
[PATCH v2 3/4] virtio_net: Add a MAC filter table, Alex Williamson, (Thu Jan 29, 4:05 pm)
Re: [PATCH v2 0/4] virtio_net: Add MAC and VLAN filtering, Rusty Russell, (Thu Jan 29, 10:03 pm)
Re: [PATCH v2 2/4] virtio_net: Add a set_rx_mode interface, Rusty Russell, (Thu Jan 29, 10:30 pm)
Re: [PATCH v2 3/4] virtio_net: Add a MAC filter table, Rusty Russell, (Thu Jan 29, 10:46 pm)
Re: [PATCH v2 0/4] virtio_net: Add MAC and VLAN filtering, Rusty Russell, (Fri Jan 30, 12:05 am)
Re: [PATCH v2 0/4] virtio_net: Add MAC and VLAN filtering, David Miller, (Fri Jan 30, 12:12 am)
[PATCH v3 0/4] virtio_net: Add MAC and VLAN filtering, Alex Williamson, (Sun Feb 1, 1:05 pm)
[PATCH v3 2/4] virtio_net: Add a set_rx_mode interface, Alex Williamson, (Sun Feb 1, 1:05 pm)
[PATCH v3 3/4] virtio_net: Add a MAC filter table, Alex Williamson, (Sun Feb 1, 1:05 pm)
Re: [PATCH v3 3/4] virtio_net: Add a MAC filter table, Rusty Russell, (Mon Feb 2, 2:57 am)
Re: [PATCH v3 2/4] virtio_net: Add a set_rx_mode interface, Alex Williamson, (Mon Feb 2, 2:34 pm)