Date: Fri, 22 Nov 2019 14:21:55 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r354994 - in stable/11/sys: contrib/rdma/krping ofed/include/rdma Message-ID: <201911221421.xAMELt1F003454@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Fri Nov 22 14:21:55 2019 New Revision: 354994 URL: https://svnweb.freebsd.org/changeset/base/354994 Log: MFC r354727: Correct MR length field to be 64-bit in ibcore. Linux commit: edd31551148c09608feee6b8756ad148d550ee3b Sponsored by: Mellanox Technologies Modified: stable/11/sys/contrib/rdma/krping/krping.c stable/11/sys/ofed/include/rdma/ib_verbs.h Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/contrib/rdma/krping/krping.c ============================================================================== --- stable/11/sys/contrib/rdma/krping/krping.c Fri Nov 22 14:18:12 2019 (r354993) +++ stable/11/sys/contrib/rdma/krping/krping.c Fri Nov 22 14:21:55 2019 (r354994) @@ -736,7 +736,7 @@ static u32 krping_rdma_rkey(struct krping_cb *cb, u64 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) Modified: stable/11/sys/ofed/include/rdma/ib_verbs.h ============================================================================== --- stable/11/sys/ofed/include/rdma/ib_verbs.h Fri Nov 22 14:18:12 2019 (r354993) +++ stable/11/sys/ofed/include/rdma/ib_verbs.h Fri Nov 22 14:21:55 2019 (r354994) @@ -1562,7 +1562,7 @@ struct ib_mr { u32 lkey; u32 rkey; u64 iova; - u32 length; + u64 length; unsigned int page_size; bool need_inval; union {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911221421.xAMELt1F003454>