On Mon, Oct 19, 2015 at 10:11:16PM -0400, [email protected] wrote:
> From: Mike Marciniszyn <[email protected]>
> 
> This additional call is a regression from qib.  For small messages the 
> progress
> routine always builds one and clears out the ahg state when the queue has gone
> to empty which is the predominant case for small messages.
> 
> Inline the routine to mitigate the call and move the routine to qp.h for scope
> reasons.
> 
> Reviewed-by: Dennis Dalessandro <[email protected]>
> Signed-off-by: Mike Marciniszyn <[email protected]>
> Signed-off-by: Ira Weiny <[email protected]>
> ---

The whole point of this patch is to do:

> -     if (qp->s_sde)
> +     if (qp->s_sde && qp->s_ahgidx >= 0)

It was not at all clear from the changelog and it was difficult to tell
because we moved code around as well.

regards,
dan carpenter
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to