diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2016-07-21 23:03:30 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-08-02 19:02:41 +0300 |
commit | 632bc3f65081dd1e2e5394a9161580a0f78e8839 (patch) | |
tree | 45f033bacf41656957984f601d84636985212c7e /drivers/infiniband/ulp/srpt/ib_srpt.h | |
parent | eaa74ec7329a48a4b724d8de440b3a2cbaabf7c8 (diff) | |
download | linux-632bc3f65081dd1e2e5394a9161580a0f78e8839.tar.xz |
IB/core, RDMA RW API: Do not exceed QP SGE send limit
Compute the SGE limit for RDMA READ and WRITE requests in
ib_create_qp(). Use that limit in the RDMA RW API implementation.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Sagi Grimberg <sagi@grimberg.me>
Cc: Steve Wise <swise@opengridcomputing.com>
Cc: Parav Pandit <pandit.parav@gmail.com>
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Cc: Laurence Oberman <loberman@redhat.com>
Cc: <stable@vger.kernel.org> #v4.7+
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/ulp/srpt/ib_srpt.h')
0 files changed, 0 insertions, 0 deletions