> ret = rdma_post_send(id, NULL, send_msg, BUF_SIZE, send_mr, > IBV_SEND_INLINE);
Depending on how the library treats the inline flag, you may need to remove it from rdma_post_send(). Use 0 for the flags if BUF_SIZE > the max inline supported by the device. - Sean