Introduce mana_ib_create_dma_region() to create dma regions with iova
for MRs. It allows creating MRs with any page offset. Previously,
only page-aligned addresses worked.
For dma regions that must have a zero dma offset (e.g., for queues),
mana_ib_create_zero_offset_dma_region() is added.
To get the zero offset, ib_umem_find_best_pgoff() is used with zero
pgoff_bitmask.
Fixes:
|
||
---|---|---|
.. | ||
cq.c | ||
device.c | ||
Kconfig | ||
main.c | ||
Makefile | ||
mana_ib.h | ||
mr.c | ||
qp.c | ||
wq.c |