Lines Matching refs:resp
68 struct efa_admin_modify_qp_resp resp; in efa_com_modify_qp() local
83 (struct efa_admin_acq_entry *)&resp, in efa_com_modify_qp()
84 sizeof(resp)); in efa_com_modify_qp()
102 struct efa_admin_query_qp_resp resp; in efa_com_query_qp() local
111 (struct efa_admin_acq_entry *)&resp, in efa_com_query_qp()
112 sizeof(resp)); in efa_com_query_qp()
120 result->qp_state = resp.qp_state; in efa_com_query_qp()
121 result->qkey = resp.qkey; in efa_com_query_qp()
122 result->sq_draining = resp.sq_draining; in efa_com_query_qp()
123 result->sq_psn = resp.sq_psn; in efa_com_query_qp()
429 struct efa_admin_get_feature_resp resp; in efa_com_get_network_attr() local
432 err = efa_com_get_feature(edev, &resp, in efa_com_get_network_attr()
441 memcpy(result->addr, resp.u.network_attr.addr, in efa_com_get_network_attr()
442 sizeof(resp.u.network_attr.addr)); in efa_com_get_network_attr()
443 result->mtu = resp.u.network_attr.mtu; in efa_com_get_network_attr()
451 struct efa_admin_get_feature_resp resp; in efa_com_get_device_attr() local
454 err = efa_com_get_feature(edev, &resp, EFA_ADMIN_DEVICE_ATTR); in efa_com_get_device_attr()
462 result->page_size_cap = resp.u.device_attr.page_size_cap; in efa_com_get_device_attr()
463 result->fw_version = resp.u.device_attr.fw_version; in efa_com_get_device_attr()
464 result->admin_api_version = resp.u.device_attr.admin_api_version; in efa_com_get_device_attr()
465 result->device_version = resp.u.device_attr.device_version; in efa_com_get_device_attr()
466 result->supported_features = resp.u.device_attr.supported_features; in efa_com_get_device_attr()
467 result->phys_addr_width = resp.u.device_attr.phys_addr_width; in efa_com_get_device_attr()
468 result->virt_addr_width = resp.u.device_attr.virt_addr_width; in efa_com_get_device_attr()
469 result->db_bar = resp.u.device_attr.db_bar; in efa_com_get_device_attr()
479 edev->supported_features = resp.u.device_attr.supported_features; in efa_com_get_device_attr()
480 err = efa_com_get_feature(edev, &resp, in efa_com_get_device_attr()
489 result->max_qp = resp.u.queue_attr.max_qp; in efa_com_get_device_attr()
490 result->max_sq_depth = resp.u.queue_attr.max_sq_depth; in efa_com_get_device_attr()
491 result->max_rq_depth = resp.u.queue_attr.max_rq_depth; in efa_com_get_device_attr()
492 result->max_cq = resp.u.queue_attr.max_cq; in efa_com_get_device_attr()
493 result->max_cq_depth = resp.u.queue_attr.max_cq_depth; in efa_com_get_device_attr()
494 result->inline_buf_size = resp.u.queue_attr.inline_buf_size; in efa_com_get_device_attr()
495 result->max_sq_sge = resp.u.queue_attr.max_wr_send_sges; in efa_com_get_device_attr()
496 result->max_rq_sge = resp.u.queue_attr.max_wr_recv_sges; in efa_com_get_device_attr()
497 result->max_mr = resp.u.queue_attr.max_mr; in efa_com_get_device_attr()
498 result->max_mr_pages = resp.u.queue_attr.max_mr_pages; in efa_com_get_device_attr()
499 result->max_pd = resp.u.queue_attr.max_pd; in efa_com_get_device_attr()
500 result->max_ah = resp.u.queue_attr.max_ah; in efa_com_get_device_attr()
501 result->max_llq_size = resp.u.queue_attr.max_llq_size; in efa_com_get_device_attr()
502 result->sub_cqs_per_cq = resp.u.queue_attr.sub_cqs_per_cq; in efa_com_get_device_attr()
510 struct efa_admin_get_feature_resp resp; in efa_com_get_hw_hints() local
513 err = efa_com_get_feature(edev, &resp, EFA_ADMIN_HW_HINTS); in efa_com_get_hw_hints()
520 result->admin_completion_timeout = resp.u.hw_hints.admin_completion_timeout; in efa_com_get_hw_hints()
521 result->driver_watchdog_timeout = resp.u.hw_hints.driver_watchdog_timeout; in efa_com_get_hw_hints()
522 result->mmio_read_timeout = resp.u.hw_hints.mmio_read_timeout; in efa_com_get_hw_hints()
523 result->poll_interval = resp.u.hw_hints.poll_interval; in efa_com_get_hw_hints()
632 struct efa_admin_alloc_pd_resp resp; in efa_com_alloc_pd() local
640 (struct efa_admin_acq_entry *)&resp, in efa_com_alloc_pd()
641 sizeof(resp)); in efa_com_alloc_pd()
648 result->pdn = resp.pd; in efa_com_alloc_pd()
658 struct efa_admin_dealloc_pd_resp resp; in efa_com_dealloc_pd() local
667 (struct efa_admin_acq_entry *)&resp, in efa_com_dealloc_pd()
668 sizeof(resp)); in efa_com_dealloc_pd()
684 struct efa_admin_alloc_uar_resp resp; in efa_com_alloc_uar() local
692 (struct efa_admin_acq_entry *)&resp, in efa_com_alloc_uar()
693 sizeof(resp)); in efa_com_alloc_uar()
700 result->uarn = resp.uar; in efa_com_alloc_uar()
710 struct efa_admin_dealloc_uar_resp resp; in efa_com_dealloc_uar() local
719 (struct efa_admin_acq_entry *)&resp, in efa_com_dealloc_uar()
720 sizeof(resp)); in efa_com_dealloc_uar()
737 struct efa_admin_acq_get_stats_resp resp; in efa_com_get_stats() local
748 (struct efa_admin_acq_entry *)&resp, in efa_com_get_stats()
749 sizeof(resp)); in efa_com_get_stats()
758 result->basic_stats.tx_bytes = resp.basic_stats.tx_bytes; in efa_com_get_stats()
759 result->basic_stats.tx_pkts = resp.basic_stats.tx_pkts; in efa_com_get_stats()
760 result->basic_stats.rx_bytes = resp.basic_stats.rx_bytes; in efa_com_get_stats()
761 result->basic_stats.rx_pkts = resp.basic_stats.rx_pkts; in efa_com_get_stats()
762 result->basic_stats.rx_drops = resp.basic_stats.rx_drops; in efa_com_get_stats()