From: Chuck Lever Date: Wed, 21 Jan 2015 16:03:02 +0000 (-0500) Subject: xprtrdma: Move credit update to RPC reply handler X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~120^2~28^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eba8ff660b2d8b7fcd6669fcab2c025b59f66d26;p=pandora-kernel.git xprtrdma: Move credit update to RPC reply handler Reduce work in the receive CQ handler, which can be run at hardware interrupt level, by moving the RPC/RDMA credit update logic to the RPC reply handler. This has some additional benefits: More header sanity checking is done before trusting the incoming credit value, and the receive CQ handler no longer touches the RPC/RDMA header (the CPU stalls while waiting for the header contents to be brought into the cache). This further extends work begun by commit e7ce710a8802 ("xprtrdma: Avoid deadlock when credit window is reset"). Signed-off-by: Chuck Lever Reviewed-by: Steve Wise Signed-off-by: Anna Schumaker --- Reading git-diff-tree failed