Lines Matching refs:resp
393 struct mlx5_ib_alloc_ucontext_resp resp; in mlx5_ib_alloc_ucontext() local
439 resp.qp_tab_size = 1 << gen->log_max_qp; in mlx5_ib_alloc_ucontext()
440 resp.bf_reg_size = gen->bf_reg_size; in mlx5_ib_alloc_ucontext()
441 resp.cache_line_size = L1_CACHE_BYTES; in mlx5_ib_alloc_ucontext()
442 resp.max_sq_desc_sz = gen->max_sq_desc_sz; in mlx5_ib_alloc_ucontext()
443 resp.max_rq_desc_sz = gen->max_rq_desc_sz; in mlx5_ib_alloc_ucontext()
444 resp.max_send_wqebb = gen->max_wqes; in mlx5_ib_alloc_ucontext()
445 resp.max_recv_wr = gen->max_wqes; in mlx5_ib_alloc_ucontext()
446 resp.max_srq_recv_wr = gen->max_srq_wqes; in mlx5_ib_alloc_ucontext()
495 resp.tot_uuars = req.total_num_uuars; in mlx5_ib_alloc_ucontext()
496 resp.num_ports = gen->num_ports; in mlx5_ib_alloc_ucontext()
497 err = ib_copy_to_udata(udata, &resp, in mlx5_ib_alloc_ucontext()
498 sizeof(resp) - sizeof(resp.reserved)); in mlx5_ib_alloc_ucontext()
659 struct mlx5_ib_alloc_pd_resp resp; in mlx5_ib_alloc_pd() local
674 resp.pdn = pd->pdn; in mlx5_ib_alloc_pd()
675 if (ib_copy_to_udata(udata, &resp, sizeof(resp))) { in mlx5_ib_alloc_pd()