From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Steve Wise" Subject: RE: [PATCH] RDMA/nes: Adding queue drain functions Date: Tue, 29 Mar 2016 15:49:18 -0500 Message-ID: <046801d189fc$7697f890$63c7e9b0$@opengridcomputing.com> References: <20160329175837.GA9868@TENIKOLO-MOBL2> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20160329175837.GA9868@TENIKOLO-MOBL2> Content-Language: en-us Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: 'Tatyana Nikolova' , 'Doug Ledford' Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, faisal.latif-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, leon-2ukJVAZIZ/Y@public.gmane.org List-Id: linux-rdma@vger.kernel.org > > Adding sq and rq drain functions, which block until all > previously posted wr-s in the specified queue have completed. > A completion object is signaled to unblock the thread, > when the last cqe for the corresponding queue is processed. > > Signed-off-by: Tatyana Nikolova > Signed-off-by: Faisal Latif Looks good to me. No locking needed though? Reviewed-by: Steve Wise -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html