Lines Matching full:result
96 struct efa_com_query_qp_result *result) in efa_com_query_qp() argument
118 result->qp_state = resp.qp_state; in efa_com_query_qp()
119 result->qkey = resp.qkey; in efa_com_query_qp()
120 result->sq_draining = resp.sq_draining; in efa_com_query_qp()
121 result->sq_psn = resp.sq_psn; in efa_com_query_qp()
122 result->rnr_retry = resp.rnr_retry; in efa_com_query_qp()
155 struct efa_com_create_cq_result *result) in efa_com_create_cq() argument
193 result->cq_idx = cmd_completion.cq_idx; in efa_com_create_cq()
194 result->actual_depth = params->cq_depth; in efa_com_create_cq()
195 result->db_off = cmd_completion.db_offset; in efa_com_create_cq()
196 result->db_valid = EFA_GET(&cmd_completion.flags, in efa_com_create_cq()
231 struct efa_com_reg_mr_result *result) in efa_com_register_mr() argument
274 result->l_key = cmd_completion.l_key; in efa_com_register_mr()
275 result->r_key = cmd_completion.r_key; in efa_com_register_mr()
276 result->ic_info.recv_ic_id = cmd_completion.recv_ic_id; in efa_com_register_mr()
277 result->ic_info.rdma_read_ic_id = cmd_completion.rdma_read_ic_id; in efa_com_register_mr()
278 result->ic_info.rdma_recv_ic_id = cmd_completion.rdma_recv_ic_id; in efa_com_register_mr()
279 result->ic_info.recv_ic_id_valid = EFA_GET(&cmd_completion.validity, in efa_com_register_mr()
281 result->ic_info.rdma_read_ic_id_valid = EFA_GET(&cmd_completion.validity, in efa_com_register_mr()
283 result->ic_info.rdma_recv_ic_id_valid = EFA_GET(&cmd_completion.validity, in efa_com_register_mr()
317 struct efa_com_create_ah_result *result) in efa_com_create_ah() argument
341 result->ah = cmd_completion.ah; in efa_com_create_ah()
445 struct efa_com_get_device_attr_result *result) in efa_com_get_device_attr() argument
458 result->page_size_cap = resp.u.device_attr.page_size_cap; in efa_com_get_device_attr()
459 result->fw_version = resp.u.device_attr.fw_version; in efa_com_get_device_attr()
460 result->admin_api_version = resp.u.device_attr.admin_api_version; in efa_com_get_device_attr()
461 result->device_version = resp.u.device_attr.device_version; in efa_com_get_device_attr()
462 result->supported_features = resp.u.device_attr.supported_features; in efa_com_get_device_attr()
463 result->phys_addr_width = resp.u.device_attr.phys_addr_width; in efa_com_get_device_attr()
464 result->virt_addr_width = resp.u.device_attr.virt_addr_width; in efa_com_get_device_attr()
465 result->db_bar = resp.u.device_attr.db_bar; in efa_com_get_device_attr()
466 result->max_rdma_size = resp.u.device_attr.max_rdma_size; in efa_com_get_device_attr()
467 result->device_caps = resp.u.device_attr.device_caps; in efa_com_get_device_attr()
468 result->guid = resp.u.device_attr.guid; in efa_com_get_device_attr()
470 if (result->admin_api_version < 1) { in efa_com_get_device_attr()
474 result->admin_api_version); in efa_com_get_device_attr()
488 result->max_qp = resp.u.queue_attr.max_qp; in efa_com_get_device_attr()
489 result->max_sq_depth = resp.u.queue_attr.max_sq_depth; in efa_com_get_device_attr()
490 result->max_rq_depth = resp.u.queue_attr.max_rq_depth; in efa_com_get_device_attr()
491 result->max_cq = resp.u.queue_attr.max_cq; in efa_com_get_device_attr()
492 result->max_cq_depth = resp.u.queue_attr.max_cq_depth; in efa_com_get_device_attr()
493 result->inline_buf_size = resp.u.queue_attr.inline_buf_size; in efa_com_get_device_attr()
494 result->max_sq_sge = resp.u.queue_attr.max_wr_send_sges; in efa_com_get_device_attr()
495 result->max_rq_sge = resp.u.queue_attr.max_wr_recv_sges; in efa_com_get_device_attr()
496 result->max_mr = resp.u.queue_attr.max_mr; in efa_com_get_device_attr()
497 result->max_mr_pages = resp.u.queue_attr.max_mr_pages; in efa_com_get_device_attr()
498 result->max_pd = resp.u.queue_attr.max_pd; in efa_com_get_device_attr()
499 result->max_ah = resp.u.queue_attr.max_ah; in efa_com_get_device_attr()
500 result->max_llq_size = resp.u.queue_attr.max_llq_size; in efa_com_get_device_attr()
501 result->sub_cqs_per_cq = resp.u.queue_attr.sub_cqs_per_cq; in efa_com_get_device_attr()
502 result->max_wr_rdma_sge = resp.u.queue_attr.max_wr_rdma_sges; in efa_com_get_device_attr()
503 result->max_tx_batch = resp.u.queue_attr.max_tx_batch; in efa_com_get_device_attr()
504 result->min_sq_depth = resp.u.queue_attr.min_sq_depth; in efa_com_get_device_attr()
514 memcpy(result->addr, resp.u.network_attr.addr, in efa_com_get_device_attr()
516 result->mtu = resp.u.network_attr.mtu; in efa_com_get_device_attr()
530 result->max_eq = resp.u.event_queue_attr.max_eq; in efa_com_get_device_attr()
531 result->max_eq_depth = resp.u.event_queue_attr.max_eq_depth; in efa_com_get_device_attr()
532 result->event_bitmask = resp.u.event_queue_attr.event_bitmask; in efa_com_get_device_attr()
539 struct efa_com_get_hw_hints_result *result) in efa_com_get_hw_hints() argument
551 result->admin_completion_timeout = resp.u.hw_hints.admin_completion_timeout; in efa_com_get_hw_hints()
552 result->driver_watchdog_timeout = resp.u.hw_hints.driver_watchdog_timeout; in efa_com_get_hw_hints()
553 result->mmio_read_timeout = resp.u.hw_hints.mmio_read_timeout; in efa_com_get_hw_hints()
554 result->poll_interval = resp.u.hw_hints.poll_interval; in efa_com_get_hw_hints()
660 struct efa_com_alloc_pd_result *result) in efa_com_alloc_pd() argument
680 result->pdn = resp.pd; in efa_com_alloc_pd()
712 struct efa_com_alloc_uar_result *result) in efa_com_alloc_uar() argument
732 result->uarn = resp.uar; in efa_com_alloc_uar()
765 union efa_com_get_stats_result *result) in efa_com_get_stats() argument
792 result->basic_stats.tx_bytes = resp.u.basic_stats.tx_bytes; in efa_com_get_stats()
793 result->basic_stats.tx_pkts = resp.u.basic_stats.tx_pkts; in efa_com_get_stats()
794 result->basic_stats.rx_bytes = resp.u.basic_stats.rx_bytes; in efa_com_get_stats()
795 result->basic_stats.rx_pkts = resp.u.basic_stats.rx_pkts; in efa_com_get_stats()
796 result->basic_stats.rx_drops = resp.u.basic_stats.rx_drops; in efa_com_get_stats()
799 result->messages_stats.send_bytes = resp.u.messages_stats.send_bytes; in efa_com_get_stats()
800 result->messages_stats.send_wrs = resp.u.messages_stats.send_wrs; in efa_com_get_stats()
801 result->messages_stats.recv_bytes = resp.u.messages_stats.recv_bytes; in efa_com_get_stats()
802 result->messages_stats.recv_wrs = resp.u.messages_stats.recv_wrs; in efa_com_get_stats()
805 result->rdma_read_stats.read_wrs = resp.u.rdma_read_stats.read_wrs; in efa_com_get_stats()
806 result->rdma_read_stats.read_bytes = resp.u.rdma_read_stats.read_bytes; in efa_com_get_stats()
807 result->rdma_read_stats.read_wr_err = resp.u.rdma_read_stats.read_wr_err; in efa_com_get_stats()
808 result->rdma_read_stats.read_resp_bytes = resp.u.rdma_read_stats.read_resp_bytes; in efa_com_get_stats()
811 result->rdma_write_stats.write_wrs = resp.u.rdma_write_stats.write_wrs; in efa_com_get_stats()
812 result->rdma_write_stats.write_bytes = resp.u.rdma_write_stats.write_bytes; in efa_com_get_stats()
813 result->rdma_write_stats.write_wr_err = resp.u.rdma_write_stats.write_wr_err; in efa_com_get_stats()
814 result->rdma_write_stats.write_recv_bytes = resp.u.rdma_write_stats.write_recv_bytes; in efa_com_get_stats()