Home
last modified time | relevance | path

Searched hist:"38071 a461f0a87a86ece011356bdac991795ce04" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_verbs.hdiff 38071a461f0a87a86ece011356bdac991795ce04 Tue Oct 13 11:11:31 CDT 2015 Sagi Grimberg <sagig@mellanox.com> IB/qib: Support the new memory registration API

Support the new memory registration API by allocating a
private page list array in qib_mr and populate it when
qib_map_mr_sg is invoked. Also, support IB_WR_REG_MR
by duplicating qib_fastreg_mr just take the needed information
from different places:
- page_size, iova, length (ib_mr)
- page array (qib_mr)
- key, access flags (ib_reg_wr)

The IB_WR_FAST_REG_MR handlers will be removed later when
all the ULPs will be converted.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>
H A Dqib_verbs.cdiff 38071a461f0a87a86ece011356bdac991795ce04 Tue Oct 13 11:11:31 CDT 2015 Sagi Grimberg <sagig@mellanox.com> IB/qib: Support the new memory registration API

Support the new memory registration API by allocating a
private page list array in qib_mr and populate it when
qib_map_mr_sg is invoked. Also, support IB_WR_REG_MR
by duplicating qib_fastreg_mr just take the needed information
from different places:
- page_size, iova, length (ib_mr)
- page array (qib_mr)
- key, access flags (ib_reg_wr)

The IB_WR_FAST_REG_MR handlers will be removed later when
all the ULPs will be converted.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>