IB/mthca: Support for query QP and SRQ