Merge tag 'v4.20-rc6' into rdma.git for-next
For dependencies in following patches.
This commit is contained in:
@@ -720,6 +720,15 @@ next_mr:
|
||||
goto srcu_unlock;
|
||||
}
|
||||
|
||||
if (!mr->umem->is_odp) {
|
||||
mlx5_ib_dbg(dev, "skipping non ODP MR (lkey=0x%06x) in page fault handler.\n",
|
||||
key);
|
||||
if (bytes_mapped)
|
||||
*bytes_mapped += bcnt;
|
||||
ret = 0;
|
||||
goto srcu_unlock;
|
||||
}
|
||||
|
||||
ret = pagefault_mr(dev, mr, io_virt, bcnt, bytes_mapped);
|
||||
if (ret < 0)
|
||||
goto srcu_unlock;
|
||||
@@ -781,6 +790,7 @@ next_mr:
|
||||
head = frame;
|
||||
|
||||
bcnt -= frame->bcnt;
|
||||
offset = 0;
|
||||
}
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user