[PATCH openEuler-5.10 47/59] RDMA/hns: Refactor the alloc_srqc()