Fix 32 bit libipathverbs
PATCH 1/1 Fix 32 bit libipathverbs
Trying to use a 64 bit kernel with a 32 bit userspace results in local protection violations reported to the CQ. This is caused by a difference in padding for ipath_rwe, so make the padding 64 bit uses explicit.
--- src/ipathverbs.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
src/ipathverbs.h +1 -0
@@ -101,6 +101,7 @@ struct ipath_cq {struct ipath_rwqe {uint64_t wr_id;uint8_t num_sge; +uint8_t padding[7 ];struct ibv_sge sg_list[0 ]; };
Signature · 6 lines
1.5.4.2 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 20101022224343.GA3573-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org
Ralph Campbell
AppliedThanks, applied.
Quoted 6 lines · Jason Gunthorpe
Trying to use a 64 bit kernel with a 32 bit userspace results in local protection violations reported to the CQ. This is caused by a difference in padding for
ipath_rwe, so make the padding 64 bit uses explicit.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html