> #define IB_QP1 __cpu_to_be32(1) Why use the __ form? I think it should just be cpu_to_be32() By the way, I'm not looking forward to debugging everything if we switch our byte ordering convention for QPNs etc.... - R.