[Patch v7 21/22] CIFS: SMBD: Upper layer performs SMB read via RDMA write through memory registration
metze at samba.org
Sun Sep 23 21:24:27 UTC 2018
>> I just tested that setting:
>> mr->iova &= (PAGE_SIZE - 1);
>> mr->iova |= 0xFFFFFFFF00000000;
>> after the ib_map_mr_sg() and before doing the IB_WR_REG_MR, seems to
> Good! As you know, we were concerned about it after seeing that
> the ib_dma_map_sg() code was unconditionally setting it to the
> dma_mapped address. By salting those FFFF's with varying data,
> this should give your FRWR regions stronger integrity in addition
> to not leaking kernel "addresses" to the wire.
Just wondering... Isn't the thing we use called FRMR?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the samba-technical