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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rusty Russell
Date: Monday, February 2, 2009 - 7:54 pm

On Tuesday 03 February 2009 08:04:07 Alex Williamson wrote:
... 

Yes, I've frequently expressed unhappiness with the API.  I lost that debate
and it doesn't seem fruitful to return to it.

It's not speed-critical, so just iterate.  I refuse to make *my* APIs suck.


Ideally we would chain them, but the caller would have to allocate an extra
sg element.

Implement sg_unmark_end() in a separate patch; be sure to CC Jens.


I don't think so: those args should in fact be const struct scatterlist *.

Thanks,
Rusty.
--
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)
Re: [PATCH v3 2/4] virtio_net: Add a set_rx_mode interface, Rusty Russell, (Mon Feb 2, 7:54 pm)