[PATCH openEuler-5.10 v2 287/548] RDMA/cxgb4: Set queue pair state when being queried