Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dqp.c3270 static void set_reg_seg(struct mlx4_wqe_fmr_seg *fseg, in set_reg_seg() argument
3275 fseg->flags = convert_access(wr->access); in set_reg_seg()
3276 fseg->mem_key = cpu_to_be32(wr->key); in set_reg_seg()
3277 fseg->buf_list = cpu_to_be64(mr->page_map); in set_reg_seg()
3278 fseg->start_addr = cpu_to_be64(mr->ibmr.iova); in set_reg_seg()
3279 fseg->reg_len = cpu_to_be64(mr->ibmr.length); in set_reg_seg()
3280 fseg->offset = 0; /* XXX -- is this just for ZBVA? */ in set_reg_seg()
3281 fseg->page_size = cpu_to_be32(ilog2(mr->ibmr.page_size)); in set_reg_seg()
3282 fseg->reserved[0] = 0; in set_reg_seg()
3283 fseg->reserved[1] = 0; in set_reg_seg()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c97 struct hns_roce_wqe_frmr_seg *fseg = in set_frmr_seg() local
124 fseg->pbl_size = cpu_to_le32(mr->npages); in set_frmr_seg()
125 roce_set_field(fseg->mode_buf_pg_sz, in set_frmr_seg()
129 roce_set_bit(fseg->mode_buf_pg_sz, in set_frmr_seg()