Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_hw_v2.c136 static void set_frmr_seg(struct hns_roce_v2_rc_send_wqe *rc_sq_wqe, in set_frmr_seg() argument
140 (void *)rc_sq_wqe + sizeof(struct hns_roce_v2_rc_send_wqe); in set_frmr_seg()
154 rc_sq_wqe->msg_len = cpu_to_le32(lower_32_bits(pbl_ba)); in set_frmr_seg()
155 rc_sq_wqe->inv_key = cpu_to_le32(upper_32_bits(pbl_ba)); in set_frmr_seg()
157 rc_sq_wqe->byte_16 = cpu_to_le32(wr->mr->length & 0xffffffff); in set_frmr_seg()
158 rc_sq_wqe->byte_20 = cpu_to_le32(wr->mr->length >> 32); in set_frmr_seg()
159 rc_sq_wqe->rkey = cpu_to_le32(wr->key); in set_frmr_seg()
160 rc_sq_wqe->va = cpu_to_le64(wr->mr->iova); in set_frmr_seg()
169 struct hns_roce_v2_rc_send_wqe *rc_sq_wqe, in set_atomic_seg() argument
173 (void *)rc_sq_wqe + sizeof(struct hns_roce_v2_rc_send_wqe); in set_atomic_seg()
[all …]