Lines Matching full:resp
65 struct efa_admin_modify_qp_resp resp; in efa_com_modify_qp() local
81 (struct efa_admin_acq_entry *)&resp, in efa_com_modify_qp()
82 sizeof(resp)); in efa_com_modify_qp()
100 struct efa_admin_query_qp_resp resp; in efa_com_query_qp() local
109 (struct efa_admin_acq_entry *)&resp, in efa_com_query_qp()
110 sizeof(resp)); in efa_com_query_qp()
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()
447 struct efa_admin_get_feature_resp resp; in efa_com_get_device_attr() local
450 err = efa_com_get_feature(edev, &resp, EFA_ADMIN_DEVICE_ATTR); in efa_com_get_device_attr()
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()
478 edev->supported_features = resp.u.device_attr.supported_features; in efa_com_get_device_attr()
479 err = efa_com_get_feature(edev, &resp, 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()
506 err = efa_com_get_feature(edev, &resp, EFA_ADMIN_NETWORK_ATTR); in efa_com_get_device_attr()
514 memcpy(result->addr, resp.u.network_attr.addr, in efa_com_get_device_attr()
515 sizeof(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()
520 err = efa_com_get_feature(edev, &resp, 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()
541 struct efa_admin_get_feature_resp resp; in efa_com_get_hw_hints() local
544 err = efa_com_get_feature(edev, &resp, EFA_ADMIN_HW_HINTS); in efa_com_get_hw_hints()
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()
664 struct efa_admin_alloc_pd_resp resp; in efa_com_alloc_pd() local
672 (struct efa_admin_acq_entry *)&resp, in efa_com_alloc_pd()
673 sizeof(resp)); in efa_com_alloc_pd()
680 result->pdn = resp.pd; in efa_com_alloc_pd()
690 struct efa_admin_dealloc_pd_resp resp; in efa_com_dealloc_pd() local
699 (struct efa_admin_acq_entry *)&resp, in efa_com_dealloc_pd()
700 sizeof(resp)); in efa_com_dealloc_pd()
716 struct efa_admin_alloc_uar_resp resp; in efa_com_alloc_uar() local
724 (struct efa_admin_acq_entry *)&resp, in efa_com_alloc_uar()
725 sizeof(resp)); in efa_com_alloc_uar()
732 result->uarn = resp.uar; in efa_com_alloc_uar()
742 struct efa_admin_dealloc_uar_resp resp; in efa_com_dealloc_uar() local
751 (struct efa_admin_acq_entry *)&resp, in efa_com_dealloc_uar()
752 sizeof(resp)); in efa_com_dealloc_uar()
769 struct efa_admin_acq_get_stats_resp resp; in efa_com_get_stats() local
780 (struct efa_admin_acq_entry *)&resp, in efa_com_get_stats()
781 sizeof(resp)); in efa_com_get_stats()
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()