> > if (attr_mask & ~((1ULL << (IBV_QP_DEST_QPN + 1)) - 1)) > > The above rdma-core code is correct, look at verbs.h: > IBV_QP_DEST_QPN = 1 << 20, Okay, then it should be if (attr_mask & ~(IB_QP_RATE_LIMIT - 1)) 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