ipath,qib: Expose max_sge_rd correctly
authorSteve Wise <swise@opengridcomputing.com>
Mon, 27 Jul 2015 23:10:07 +0000 (18:10 -0500)
committerDoug Ledford <dledford@redhat.com>
Sat, 29 Aug 2015 03:02:11 +0000 (23:02 -0400)
commitaaae91f4f05c39f02e36e89b00ad84465f8eb02b
treeb1a175edd2771f54cbbcfefa081c452a04c52172
parent18ebd40773bf500054a5e079e71cd13aafd1b6eb
ipath,qib: Expose max_sge_rd correctly

Applications must not assume that max_sge and max_sge_rd are the same,
Hence expose max_sge_rd correctly as well.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Acked-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/qib/qib_verbs.c
drivers/staging/rdma/ipath/ipath_verbs.c