Lines Matching refs:ucmd
100 struct mana_ib_create_qp_rss ucmd = {}; in mana_ib_create_qp_rss() local
114 if (!udata || udata->inlen < sizeof(ucmd)) in mana_ib_create_qp_rss()
117 ret = ib_copy_from_udata(&ucmd, udata, min(sizeof(ucmd), udata->inlen)); in mana_ib_create_qp_rss()
147 if (ucmd.rx_hash_function != MANA_IB_RX_HASH_FUNC_TOEPLITZ) { in mana_ib_create_qp_rss()
150 ucmd.rx_hash_function); in mana_ib_create_qp_rss()
155 port = ucmd.port; in mana_ib_create_qp_rss()
165 ucmd.rx_hash_function, port); in mana_ib_create_qp_rss()
229 ucmd.rx_hash_key_len, in mana_ib_create_qp_rss()
230 ucmd.rx_hash_key); in mana_ib_create_qp_rss()
276 struct mana_ib_create_qp ucmd = {}; in mana_ib_create_qp_raw() local
286 if (!mana_ucontext || udata->inlen < sizeof(ucmd)) in mana_ib_create_qp_raw()
289 err = ib_copy_from_udata(&ucmd, udata, min(sizeof(ucmd), udata->inlen)); in mana_ib_create_qp_raw()
310 port = ucmd.port; in mana_ib_create_qp_raw()
327 ucmd.sq_buf_addr, ucmd.port); in mana_ib_create_qp_raw()
329 err = mana_ib_create_queue(mdev, ucmd.sq_buf_addr, ucmd.sq_buf_size, &qp->raw_sq); in mana_ib_create_qp_raw()
338 wq_spec.queue_size = ucmd.sq_buf_size; in mana_ib_create_qp_raw()
424 struct mana_ib_create_rc_qp ucmd = {}; in mana_ib_create_rc_qp() local
429 if (!udata || udata->inlen < sizeof(ucmd)) in mana_ib_create_rc_qp()
435 err = ib_copy_from_udata(&ucmd, udata, min(sizeof(ucmd), udata->inlen)); in mana_ib_create_rc_qp()
448 err = mana_ib_create_queue(mdev, ucmd.queue_buf[j], ucmd.queue_size[j], in mana_ib_create_rc_qp()