On Thursday 21 June 2007 23:17, Roland Dreier wrote:
> 
> align_queue_size() always returns at least 1 so I don't see why this matters.
> 
No, it doesn't:

from libmlx4/src/verbs.c:
static int align_queue_size(struct ibv_context *context, int size, int spare)
{
        int ret;

        /*
         * If someone asks for a 0-sized queue, presumably they're not
         * going to use it.  So don't mess with their size.
         */
        if (!size)
                return 0;

Note that if the requested size is zero, the function returns zero.

- Jack
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to