Correct MR length field to be 64-bit in ibcore.

Linux commit:
edd31551148c09608feee6b8756ad148d550ee3b

MFC after:	1 week
Sponsored by:	Mellanox Technologies
This commit is contained in:
Hans Petter Selasky 2019-11-15 11:45:14 +00:00
parent 9744f55686
commit ae9a8ec99f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=354727
2 changed files with 2 additions and 2 deletions

View File

@ -736,7 +736,7 @@ static u32 krping_rdma_rkey(struct krping_cb *cb, u64 buf, int post_inv)
post_inv,
cb->reg_mr_wr.key,
cb->reg_mr->page_size,
cb->reg_mr->length,
(unsigned)cb->reg_mr->length,
(unsigned long long)cb->reg_mr->iova);
if (post_inv)

View File

@ -1559,7 +1559,7 @@ struct ib_mr {
u32 lkey;
u32 rkey;
u64 iova;
u32 length;
u64 length;
unsigned int page_size;
bool need_inval;
union {