From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f182.google.com ([209.85.212.182]:35317 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755185AbbITKMb (ORCPT ); Sun, 20 Sep 2015 06:12:31 -0400 Received: by wicge5 with SMTP id ge5so80703856wic.0 for ; Sun, 20 Sep 2015 03:12:30 -0700 (PDT) Subject: Re: [PATCH rdma-rc 1/4] xprtrdma: Remove ib_get_dma_mr calls References: <1442742767-8755-1-git-send-email-sagig@mellanox.com> <1442742767-8755-2-git-send-email-sagig@mellanox.com> Cc: Doug Ledford , linux-rdma@vger.kernel.org, Eli Cohen , linux-nfs To: Chuck Lever From: Sagi Grimberg Message-ID: <55FE86A2.4010604@dev.mellanox.co.il> Date: Sun, 20 Sep 2015 13:12:50 +0300 MIME-Version: 1.0 In-Reply-To: <1442742767-8755-2-git-send-email-sagig@mellanox.com> Content-Type: text/plain; charset=windows-1252; format=flowed Sender: linux-nfs-owner@vger.kernel.org List-ID: On 9/20/2015 12:52 PM, Sagi Grimberg wrote: > since commit 96249d70dd70 ("IB/core: > Guarantee that a local_dma_lkey is available") The PD now > has a local_dma_lkey member which completely replaces > ib_get_dma_mr, use it instead. > > In FRWR memreg mode, we assumed that the device local_dma_lkey > is available. Chuck, I just noticed that this is (almost) identical to your 02/18 RFC patch. Would you mind if I send v1 with your patch to 4.3-rc (given xprtrdma would break over mlx5 without it)? Sagi. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sagi Grimberg Subject: Re: [PATCH rdma-rc 1/4] xprtrdma: Remove ib_get_dma_mr calls Date: Sun, 20 Sep 2015 13:12:50 +0300 Message-ID: <55FE86A2.4010604@dev.mellanox.co.il> References: <1442742767-8755-1-git-send-email-sagig@mellanox.com> <1442742767-8755-2-git-send-email-sagig@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1442742767-8755-2-git-send-email-sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> Sender: linux-nfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Chuck Lever Cc: Doug Ledford , linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Eli Cohen , linux-nfs List-Id: linux-rdma@vger.kernel.org On 9/20/2015 12:52 PM, Sagi Grimberg wrote: > since commit 96249d70dd70 ("IB/core: > Guarantee that a local_dma_lkey is available") The PD now > has a local_dma_lkey member which completely replaces > ib_get_dma_mr, use it instead. > > In FRWR memreg mode, we assumed that the device local_dma_lkey > is available. Chuck, I just noticed that this is (almost) identical to your 02/18 RFC patch. Would you mind if I send v1 with your patch to 4.3-rc (given xprtrdma would break over mlx5 without it)? Sagi. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html