[PATCH openEuler-5.10 25/47] RDMA/hns: Use a constant instead of sizeof operation