Return-Path: Received: from smtp.opengridcomputing.com ([72.48.136.20]:54269 "EHLO smtp.opengridcomputing.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754638AbbG0XJ4 (ORCPT ); Mon, 27 Jul 2015 19:09:56 -0400 From: Steve Wise Subject: [PATCH RESEND 0/4] Use max_sge_rd device capability To: dledford@redhat.com Cc: infinipath@intel.com, sagig@mellanox.com, linux-rdma@vger.kernel.org, linux-nfs@vger.kernel.org, bfields@fieldses.org Date: Mon, 27 Jul 2015 18:09:55 -0500 Message-ID: <20150727230906.10102.88491.stgit@build2.ogc.int> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Sender: linux-nfs-owner@vger.kernel.org List-ID: Resending because I forgot to cc linux-rdma :( Some devices were not setting this capability, so fix those devices, and svcrdma to use max_sge_rd. Also remove rdma_cap_read_multi_sge() since it isn't needed. These patches were originally part of: http://www.spinics.net/lists/linux-rdma/msg27436.html They really aren't part of iSER/iWARP at all, so I've split them out. Bruce: This hits svcrdma, but I suggest they get merged via Doug's tree to avoid any merge problems. --- Sagi Grimberg (1): mlx4, mlx5, mthca: Expose max_sge_rd correctly Steve Wise (3): RDMA/Core: remove rdma_cap_read_multi_sge() helper svcrdma: Use max_sge_rd for destination read depths ipath,qib: Expose max_sge_rd correctly drivers/infiniband/hw/ipath/ipath_verbs.c | 1 + drivers/infiniband/hw/mlx4/main.c | 1 + drivers/infiniband/hw/mlx5/main.c | 1 + drivers/infiniband/hw/mthca/mthca_provider.c | 1 + drivers/infiniband/hw/qib/qib_verbs.c | 1 + include/linux/sunrpc/svc_rdma.h | 1 + include/rdma/ib_verbs.h | 28 -------------------------- net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 12 +---------- net/sunrpc/xprtrdma/svc_rdma_transport.c | 4 ++++ 9 files changed, 11 insertions(+), 39 deletions(-) -- Steve