Searched refs:ud_sq_wqe (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.15/drivers/infiniband/hw/hns/ |
| D | hns_roce_hw_v1.c | 83 struct hns_roce_ud_send_wqe *ud_sq_wqe = NULL; in hns_roce_v1_post_send() local 130 ud_sq_wqe = wqe; in hns_roce_v1_post_send() 131 roce_set_field(ud_sq_wqe->dmac_h, in hns_roce_v1_post_send() 135 roce_set_field(ud_sq_wqe->dmac_h, in hns_roce_v1_post_send() 139 roce_set_field(ud_sq_wqe->dmac_h, in hns_roce_v1_post_send() 143 roce_set_field(ud_sq_wqe->dmac_h, in hns_roce_v1_post_send() 148 roce_set_field(ud_sq_wqe->u32_8, in hns_roce_v1_post_send() 152 roce_set_field(ud_sq_wqe->u32_8, in hns_roce_v1_post_send() 160 roce_set_bit(ud_sq_wqe->u32_8, in hns_roce_v1_post_send() 164 roce_set_field(ud_sq_wqe->u32_8, in hns_roce_v1_post_send() [all …]
|
| D | hns_roce_hw_v2.c | 404 static int set_ud_opcode(struct hns_roce_v2_ud_send_wqe *ud_sq_wqe, in set_ud_opcode() argument 412 ud_sq_wqe->immtdata = get_immtdata(wr); in set_ud_opcode() 414 roce_set_field(ud_sq_wqe->byte_4, V2_UD_SEND_WQE_BYTE_4_OPCODE_M, in set_ud_opcode() 420 static int fill_ud_av(struct hns_roce_v2_ud_send_wqe *ud_sq_wqe, in fill_ud_av() argument 426 roce_set_field(ud_sq_wqe->byte_24, V2_UD_SEND_WQE_BYTE_24_UDPSPN_M, in fill_ud_av() 429 roce_set_field(ud_sq_wqe->byte_36, V2_UD_SEND_WQE_BYTE_36_HOPLIMIT_M, in fill_ud_av() 431 roce_set_field(ud_sq_wqe->byte_36, V2_UD_SEND_WQE_BYTE_36_TCLASS_M, in fill_ud_av() 433 roce_set_field(ud_sq_wqe->byte_40, V2_UD_SEND_WQE_BYTE_40_FLOW_LABEL_M, in fill_ud_av() 439 roce_set_field(ud_sq_wqe->byte_40, V2_UD_SEND_WQE_BYTE_40_SL_M, in fill_ud_av() 442 ud_sq_wqe->sgid_index = ah->av.gid_index; in fill_ud_av() [all …]
|