Fix the arguments max_recv_wr and max_recv_sge's check in ibv_create_qp() accroding to IBTA spec.