[ofa-general] Re: [PATCH] infiniband: modify ammasso driver to use send with invalidate

Michael S. Tsirkin mst at dev.mellanox.co.il
Wed May 2 00:08:49 PDT 2007


> -			if (ib_wr->send_flags & IB_SEND_SOLICITED) {
> +			if (ib_wr->send_flags & IB_SEND_SOLICITED
> +				&& ib_wr->send_flags & IB_SEND_INVALIDATE) {

How about
	if (ib_wr->send_flags & (IB_SEND_SOLICITED | IB_SEND_INVALIDATE))

-- 
MST



More information about the general mailing list