> If those reserve fields are either A) not correctly set to 0 or B) are used > for > some future status this function will fail. Since the spec says to ignore > them > I would do something like. > > status = ntohs(status); > status &= 0x001F; > > With a #define'd mask for 1F of course... ;-)
Your proposed implementation already ignores those bits. I'm confused. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html