diff options
author | Dennis Dalessandro <dennis.dalessandro@intel.com> | 2016-01-19 14:41:55 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-10 20:37:36 -0500 |
commit | cd4ceee341ca9d8b176762d3ad783e46538589a7 (patch) | |
tree | 679bf8c28b4c492606cb3e0984316561b6f98c7b /drivers/staging/rdma/hfi1/ud.c | |
parent | 4f87ccfca0c29bb0fb9d2e6037656e871714f9e7 (diff) | |
download | linux-stable-cd4ceee341ca9d8b176762d3ad783e46538589a7.tar.gz linux-stable-cd4ceee341ca9d8b176762d3ad783e46538589a7.tar.bz2 linux-stable-cd4ceee341ca9d8b176762d3ad783e46538589a7.zip |
staging/rdma/hfi1: Remove MR data structures from hfi1
Remove MR data structures from hfi1 and use the version in rdmavt
Reviewed-by: Dean Luick <dean.luick@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/staging/rdma/hfi1/ud.c')
-rw-r--r-- | drivers/staging/rdma/hfi1/ud.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rdma/hfi1/ud.c b/drivers/staging/rdma/hfi1/ud.c index 25e6053c38db..970d42ff32bb 100644 --- a/drivers/staging/rdma/hfi1/ud.c +++ b/drivers/staging/rdma/hfi1/ud.c @@ -210,7 +210,7 @@ static void ud_loopback(struct hfi1_qp *sqp, struct hfi1_swqe *swqe) if (--ssge.num_sge) *sge = *ssge.sg_list++; } else if (sge->length == 0 && sge->mr->lkey) { - if (++sge->n >= HFI1_SEGSZ) { + if (++sge->n >= RVT_SEGSZ) { if (++sge->m >= sge->mr->mapsz) break; sge->n = 0; |