xprtrdma: Replace global lkey with lkey local to PD
The core API has changed so that devices that do not have a global
DMA lkey automatically create an mr, per-PD, and make that lkey
available. The global DMA lkey interface is going away in favor of
the per-PD DMA lkey.
The per-PD DMA lkey is always available. Convert xprtrdma to use the
device's per-PD DMA lkey for regbufs, no matter which memory
registration scheme is in use.
Signed-off-by: Chuck Lever <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Cc: linux-nfs <[email protected]>
Acked-by: Anna Schumaker <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>