On Tue, May 17, 2016 at 11:37:11AM +0300, Shamir Rabinovitch wrote: > Comments are more then welcome.. Something like this should fix it with less overhead: struct ib_sa_mcmember_data { [..] } __packed __aligned(4); Which tells the compiler the structure is only aligned on dword boundaries. It will then emit the proper architecture dependent unaligned read for the 8 byte values. Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html