Lines Matching full:result
93 struct efa_com_query_qp_result *result) in efa_com_query_qp() argument
115 result->qp_state = resp.qp_state; in efa_com_query_qp()
116 result->qkey = resp.qkey; in efa_com_query_qp()
117 result->sq_draining = resp.sq_draining; in efa_com_query_qp()
118 result->sq_psn = resp.sq_psn; in efa_com_query_qp()
119 result->rnr_retry = resp.rnr_retry; in efa_com_query_qp()
152 struct efa_com_create_cq_result *result) in efa_com_create_cq() argument
190 result->cq_idx = cmd_completion.cq_idx; in efa_com_create_cq()
191 result->actual_depth = params->cq_depth; in efa_com_create_cq()
192 result->db_off = cmd_completion.db_offset; in efa_com_create_cq()
193 result->db_valid = EFA_GET(&cmd_completion.flags, in efa_com_create_cq()
228 struct efa_com_reg_mr_result *result) in efa_com_register_mr() argument
271 result->l_key = cmd_completion.l_key; in efa_com_register_mr()
272 result->r_key = cmd_completion.r_key; in efa_com_register_mr()
305 struct efa_com_create_ah_result *result) in efa_com_create_ah() argument
329 result->ah = cmd_completion.ah; in efa_com_create_ah()
433 struct efa_com_get_device_attr_result *result) in efa_com_get_device_attr() argument
446 result->page_size_cap = resp.u.device_attr.page_size_cap; in efa_com_get_device_attr()
447 result->fw_version = resp.u.device_attr.fw_version; in efa_com_get_device_attr()
448 result->admin_api_version = resp.u.device_attr.admin_api_version; in efa_com_get_device_attr()
449 result->device_version = resp.u.device_attr.device_version; in efa_com_get_device_attr()
450 result->supported_features = resp.u.device_attr.supported_features; in efa_com_get_device_attr()
451 result->phys_addr_width = resp.u.device_attr.phys_addr_width; in efa_com_get_device_attr()
452 result->virt_addr_width = resp.u.device_attr.virt_addr_width; in efa_com_get_device_attr()
453 result->db_bar = resp.u.device_attr.db_bar; in efa_com_get_device_attr()
454 result->max_rdma_size = resp.u.device_attr.max_rdma_size; in efa_com_get_device_attr()
455 result->device_caps = resp.u.device_attr.device_caps; in efa_com_get_device_attr()
457 if (result->admin_api_version < 1) { in efa_com_get_device_attr()
461 result->admin_api_version); in efa_com_get_device_attr()
475 result->max_qp = resp.u.queue_attr.max_qp; in efa_com_get_device_attr()
476 result->max_sq_depth = resp.u.queue_attr.max_sq_depth; in efa_com_get_device_attr()
477 result->max_rq_depth = resp.u.queue_attr.max_rq_depth; in efa_com_get_device_attr()
478 result->max_cq = resp.u.queue_attr.max_cq; in efa_com_get_device_attr()
479 result->max_cq_depth = resp.u.queue_attr.max_cq_depth; in efa_com_get_device_attr()
480 result->inline_buf_size = resp.u.queue_attr.inline_buf_size; in efa_com_get_device_attr()
481 result->max_sq_sge = resp.u.queue_attr.max_wr_send_sges; in efa_com_get_device_attr()
482 result->max_rq_sge = resp.u.queue_attr.max_wr_recv_sges; in efa_com_get_device_attr()
483 result->max_mr = resp.u.queue_attr.max_mr; in efa_com_get_device_attr()
484 result->max_mr_pages = resp.u.queue_attr.max_mr_pages; in efa_com_get_device_attr()
485 result->max_pd = resp.u.queue_attr.max_pd; in efa_com_get_device_attr()
486 result->max_ah = resp.u.queue_attr.max_ah; in efa_com_get_device_attr()
487 result->max_llq_size = resp.u.queue_attr.max_llq_size; in efa_com_get_device_attr()
488 result->sub_cqs_per_cq = resp.u.queue_attr.sub_cqs_per_cq; in efa_com_get_device_attr()
489 result->max_wr_rdma_sge = resp.u.queue_attr.max_wr_rdma_sges; in efa_com_get_device_attr()
490 result->max_tx_batch = resp.u.queue_attr.max_tx_batch; in efa_com_get_device_attr()
491 result->min_sq_depth = resp.u.queue_attr.min_sq_depth; in efa_com_get_device_attr()
501 memcpy(result->addr, resp.u.network_attr.addr, in efa_com_get_device_attr()
503 result->mtu = resp.u.network_attr.mtu; in efa_com_get_device_attr()
517 result->max_eq = resp.u.event_queue_attr.max_eq; in efa_com_get_device_attr()
518 result->max_eq_depth = resp.u.event_queue_attr.max_eq_depth; in efa_com_get_device_attr()
519 result->event_bitmask = resp.u.event_queue_attr.event_bitmask; in efa_com_get_device_attr()
526 struct efa_com_get_hw_hints_result *result) in efa_com_get_hw_hints() argument
538 result->admin_completion_timeout = resp.u.hw_hints.admin_completion_timeout; in efa_com_get_hw_hints()
539 result->driver_watchdog_timeout = resp.u.hw_hints.driver_watchdog_timeout; in efa_com_get_hw_hints()
540 result->mmio_read_timeout = resp.u.hw_hints.mmio_read_timeout; in efa_com_get_hw_hints()
541 result->poll_interval = resp.u.hw_hints.poll_interval; in efa_com_get_hw_hints()
647 struct efa_com_alloc_pd_result *result) in efa_com_alloc_pd() argument
667 result->pdn = resp.pd; in efa_com_alloc_pd()
699 struct efa_com_alloc_uar_result *result) in efa_com_alloc_uar() argument
719 result->uarn = resp.uar; in efa_com_alloc_uar()
752 union efa_com_get_stats_result *result) in efa_com_get_stats() argument
779 result->basic_stats.tx_bytes = resp.u.basic_stats.tx_bytes; in efa_com_get_stats()
780 result->basic_stats.tx_pkts = resp.u.basic_stats.tx_pkts; in efa_com_get_stats()
781 result->basic_stats.rx_bytes = resp.u.basic_stats.rx_bytes; in efa_com_get_stats()
782 result->basic_stats.rx_pkts = resp.u.basic_stats.rx_pkts; in efa_com_get_stats()
783 result->basic_stats.rx_drops = resp.u.basic_stats.rx_drops; in efa_com_get_stats()
786 result->messages_stats.send_bytes = resp.u.messages_stats.send_bytes; in efa_com_get_stats()
787 result->messages_stats.send_wrs = resp.u.messages_stats.send_wrs; in efa_com_get_stats()
788 result->messages_stats.recv_bytes = resp.u.messages_stats.recv_bytes; in efa_com_get_stats()
789 result->messages_stats.recv_wrs = resp.u.messages_stats.recv_wrs; in efa_com_get_stats()
792 result->rdma_read_stats.read_wrs = resp.u.rdma_read_stats.read_wrs; in efa_com_get_stats()
793 result->rdma_read_stats.read_bytes = resp.u.rdma_read_stats.read_bytes; in efa_com_get_stats()
794 result->rdma_read_stats.read_wr_err = resp.u.rdma_read_stats.read_wr_err; in efa_com_get_stats()
795 result->rdma_read_stats.read_resp_bytes = resp.u.rdma_read_stats.read_resp_bytes; in efa_com_get_stats()