[PATCH openEuler-5.10 44/59] RDMA/hns: Refactor mailbox functions