Searched refs:ud_sq_wqe (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 422 static int set_ud_opcode(struct hns_roce_v2_ud_send_wqe *ud_sq_wqe, in set_ud_opcode() argument 430 ud_sq_wqe->immtdata = get_immtdata(wr); in set_ud_opcode() 432 hr_reg_write(ud_sq_wqe, UD_SEND_WQE_OPCODE, to_hr_opcode(ib_op)); in set_ud_opcode() 437 static int fill_ud_av(struct hns_roce_v2_ud_send_wqe *ud_sq_wqe, in fill_ud_av() argument 443 hr_reg_write(ud_sq_wqe, UD_SEND_WQE_UDPSPN, ah->av.udp_sport); in fill_ud_av() 444 hr_reg_write(ud_sq_wqe, UD_SEND_WQE_HOPLIMIT, ah->av.hop_limit); in fill_ud_av() 445 hr_reg_write(ud_sq_wqe, UD_SEND_WQE_TCLASS, ah->av.tclass); in fill_ud_av() 446 hr_reg_write(ud_sq_wqe, UD_SEND_WQE_FLOW_LABEL, ah->av.flowlabel); in fill_ud_av() 447 hr_reg_write(ud_sq_wqe, UD_SEND_WQE_SL, ah->av.sl); in fill_ud_av() 449 ud_sq_wqe->sgid_index = ah->av.gid_index; in fill_ud_av() [all …]
|