• Home
  • Raw
  • Download

Lines Matching refs:resp

62 	struct efa_admin_modify_qp_resp resp;  in efa_com_modify_qp()  local
78 (struct efa_admin_acq_entry *)&resp, in efa_com_modify_qp()
79 sizeof(resp)); in efa_com_modify_qp()
97 struct efa_admin_query_qp_resp resp; in efa_com_query_qp() local
106 (struct efa_admin_acq_entry *)&resp, in efa_com_query_qp()
107 sizeof(resp)); in efa_com_query_qp()
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()
435 struct efa_admin_get_feature_resp resp; in efa_com_get_device_attr() local
438 err = efa_com_get_feature(edev, &resp, EFA_ADMIN_DEVICE_ATTR); in efa_com_get_device_attr()
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()
465 edev->supported_features = resp.u.device_attr.supported_features; in efa_com_get_device_attr()
466 err = efa_com_get_feature(edev, &resp, 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()
493 err = efa_com_get_feature(edev, &resp, EFA_ADMIN_NETWORK_ATTR); in efa_com_get_device_attr()
501 memcpy(result->addr, resp.u.network_attr.addr, in efa_com_get_device_attr()
502 sizeof(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()
507 err = efa_com_get_feature(edev, &resp, 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()
528 struct efa_admin_get_feature_resp resp; in efa_com_get_hw_hints() local
531 err = efa_com_get_feature(edev, &resp, EFA_ADMIN_HW_HINTS); in efa_com_get_hw_hints()
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()
651 struct efa_admin_alloc_pd_resp resp; in efa_com_alloc_pd() local
659 (struct efa_admin_acq_entry *)&resp, in efa_com_alloc_pd()
660 sizeof(resp)); in efa_com_alloc_pd()
667 result->pdn = resp.pd; in efa_com_alloc_pd()
677 struct efa_admin_dealloc_pd_resp resp; in efa_com_dealloc_pd() local
686 (struct efa_admin_acq_entry *)&resp, in efa_com_dealloc_pd()
687 sizeof(resp)); in efa_com_dealloc_pd()
703 struct efa_admin_alloc_uar_resp resp; in efa_com_alloc_uar() local
711 (struct efa_admin_acq_entry *)&resp, in efa_com_alloc_uar()
712 sizeof(resp)); in efa_com_alloc_uar()
719 result->uarn = resp.uar; in efa_com_alloc_uar()
729 struct efa_admin_dealloc_uar_resp resp; in efa_com_dealloc_uar() local
738 (struct efa_admin_acq_entry *)&resp, in efa_com_dealloc_uar()
739 sizeof(resp)); in efa_com_dealloc_uar()
756 struct efa_admin_acq_get_stats_resp resp; in efa_com_get_stats() local
767 (struct efa_admin_acq_entry *)&resp, in efa_com_get_stats()
768 sizeof(resp)); in efa_com_get_stats()
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()
798 result->rdma_write_stats.write_wrs = resp.u.rdma_write_stats.write_wrs; in efa_com_get_stats()
799 result->rdma_write_stats.write_bytes = resp.u.rdma_write_stats.write_bytes; in efa_com_get_stats()
800 result->rdma_write_stats.write_wr_err = resp.u.rdma_write_stats.write_wr_err; in efa_com_get_stats()
801 result->rdma_write_stats.write_recv_bytes = resp.u.rdma_write_stats.write_recv_bytes; in efa_com_get_stats()