Home
last modified time | relevance | path

Searched refs:ud_sq_wqe (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c179 struct hns_roce_v2_ud_send_wqe *ud_sq_wqe; in hns_roce_v2_post_send() local
242 ud_sq_wqe = wqe; in hns_roce_v2_post_send()
243 memset(ud_sq_wqe, 0, sizeof(*ud_sq_wqe)); in hns_roce_v2_post_send()
245 roce_set_field(ud_sq_wqe->dmac, V2_UD_SEND_WQE_DMAC_0_M, in hns_roce_v2_post_send()
247 roce_set_field(ud_sq_wqe->dmac, V2_UD_SEND_WQE_DMAC_1_M, in hns_roce_v2_post_send()
249 roce_set_field(ud_sq_wqe->dmac, V2_UD_SEND_WQE_DMAC_2_M, in hns_roce_v2_post_send()
251 roce_set_field(ud_sq_wqe->dmac, V2_UD_SEND_WQE_DMAC_3_M, in hns_roce_v2_post_send()
253 roce_set_field(ud_sq_wqe->byte_48, in hns_roce_v2_post_send()
257 roce_set_field(ud_sq_wqe->byte_48, in hns_roce_v2_post_send()
267 roce_set_bit(ud_sq_wqe->byte_40, in hns_roce_v2_post_send()
[all …]
Dhns_roce_hw_v1.c67 struct hns_roce_ud_send_wqe *ud_sq_wqe = NULL; in hns_roce_v1_post_send() local
113 ud_sq_wqe = wqe; in hns_roce_v1_post_send()
114 roce_set_field(ud_sq_wqe->dmac_h, in hns_roce_v1_post_send()
118 roce_set_field(ud_sq_wqe->dmac_h, in hns_roce_v1_post_send()
122 roce_set_field(ud_sq_wqe->dmac_h, in hns_roce_v1_post_send()
126 roce_set_field(ud_sq_wqe->dmac_h, in hns_roce_v1_post_send()
131 roce_set_field(ud_sq_wqe->u32_8, in hns_roce_v1_post_send()
135 roce_set_field(ud_sq_wqe->u32_8, in hns_roce_v1_post_send()
143 roce_set_bit(ud_sq_wqe->u32_8, in hns_roce_v1_post_send()
147 roce_set_field(ud_sq_wqe->u32_8, in hns_roce_v1_post_send()
[all …]