Re: [PATCH RFC 1/3] virtio_ring: add capacity check API

From: Rusty Russell
Date: Wed Jun 01 2011 - 23:56:27 EST


On Wed, 1 Jun 2011 12:49:46 +0300, "Michael S. Tsirkin" <mst@xxxxxxxxxx> wrote:
> Add API to check ring capacity. Because of the option
> to use indirect buffers, this returns the worst
> case, not the normal case capacity.

Can we drop the silly "add_buf() returns capacity" hack then?

Thanks,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/