Return-Path: Received: from smtp.opengridcomputing.com ([72.48.136.20]:54221 "EHLO smtp.opengridcomputing.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754525AbbG0W5t (ORCPT ); Mon, 27 Jul 2015 18:57:49 -0400 From: Steve Wise Subject: [PATCH 0/4] Use max_sge_rd device capability To: dledford@redhat.com Cc: infinipath@intel.com, sagig@mellanox.com, linux-nfs@vger.kernel.org, bfields@fieldses.org Date: Mon, 27 Jul 2015 17:57:48 -0500 Message-ID: <20150727225408.9959.78916.stgit@build2.ogc.int> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Sender: linux-nfs-owner@vger.kernel.org List-ID: 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.