From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH v2 00/12] IB: Replace safe uses for ib_get_dma_mr with pd->local_dma_lkey Date: Fri, 31 Jul 2015 16:31:53 -0600 Message-ID: <20150731223153.GA1518@obsidianresearch.com> References: <1438298547-21404-1-git-send-email-jgunthorpe@obsidianresearch.com> <55BBF4B8.2050700@sandisk.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <55BBF4B8.2050700-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Bart Van Assche Cc: Doug Ledford , linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Amir Vadai , Chien Yen , Christoph Hellwig , Dominique Martinet , Eli Cohen , Eric Van Hensbergen , Ido Shamay , Latchesar Ionkov , Or Gerlitz , Roi Dayan , Ron Minnich , Sagi Grimberg , Simon Derr , Tom Tucker List-Id: linux-rdma@vger.kernel.org On Fri, Jul 31, 2015 at 03:20:40PM -0700, Bart Van Assche wrote: > On 07/30/2015 04:22 PM, Jason Gunthorpe wrote: > >All patches are compile tested. I've done basic testing up to and including > >the IPoIB patch, the rest required specialized setups I don't have access to, > >but are fairly straightforward. > > Hello Jason, > > SRP login fails with this patch series applied on top of Linux kernel > v4.2-rc4. At the target side the following message appears every time the > SRP initiator tries to log in: "ib_srpt: RDMA t 5 for idx 0 failed with > status 10" (10=remote access error). That causes the initiator to receive a > flush error (5). Sounds like a bad rkey was sent to the target? I'm guessing #9 is the cause? I'm guessing that target->rkey is being used someplace even though register_always is set? Doug, in this case, I'd just drop the impacted SRP patches.. Hopefully just #9... Jason -- 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