[PATCH openEuler-5.10 117/427] RDMA/hfi1: Prevent panic when SDMA is disabled