Lines Matching refs:resp
2587 struct hwrm_err_output *resp = bp->hwrm_cmd_resp_addr; in _hwrm_send_message() local
2590 memset(resp, 0, PAGE_SIZE); in _hwrm_send_message()
2654 rc = le16_to_cpu(resp->error_code); in _hwrm_send_message()
2657 le16_to_cpu(resp->req_type), in _hwrm_send_message()
2658 le16_to_cpu(resp->seq_id), rc); in _hwrm_send_message()
2744 struct hwrm_tunnel_dst_port_alloc_output *resp = bp->hwrm_cmd_resp_addr; in bnxt_hwrm_tunnel_dst_port_alloc() local
2760 bp->vxlan_fw_dst_port_id = resp->tunnel_dst_port_id; in bnxt_hwrm_tunnel_dst_port_alloc()
2763 bp->nge_fw_dst_port_id = resp->tunnel_dst_port_id; in bnxt_hwrm_tunnel_dst_port_alloc()
2815 struct hwrm_cfa_ntuple_filter_alloc_output *resp = in bnxt_hwrm_cfa_ntuple_filter_alloc() local
2844 fltr->filter_id = resp->ntuple_filter_id; in bnxt_hwrm_cfa_ntuple_filter_alloc()
2855 struct hwrm_cfa_l2_filter_alloc_output *resp = bp->hwrm_cmd_resp_addr; in bnxt_hwrm_set_vnic_filter() local
2877 resp->l2_filter_id; in bnxt_hwrm_set_vnic_filter()
3043 struct hwrm_vnic_rss_cos_lb_ctx_alloc_output *resp = in bnxt_hwrm_vnic_ctx_alloc() local
3053 le16_to_cpu(resp->rss_cos_lb_ctx_id); in bnxt_hwrm_vnic_ctx_alloc()
3121 struct hwrm_vnic_alloc_output *resp = bp->hwrm_cmd_resp_addr; in bnxt_hwrm_vnic_alloc() local
3143 bp->vnic_info[vnic_id].fw_vnic_id = le32_to_cpu(resp->vnic_id); in bnxt_hwrm_vnic_alloc()
3156 struct hwrm_ring_grp_alloc_output *resp = in bnxt_hwrm_ring_grp_alloc() local
3171 bp->grp_info[i].fw_grp_id = le32_to_cpu(resp->ring_group_id); in bnxt_hwrm_ring_grp_alloc()
3212 struct hwrm_ring_alloc_output *resp = bp->hwrm_cmd_resp_addr; in hwrm_ring_alloc_send_msg() local
3262 err = le16_to_cpu(resp->error_code); in hwrm_ring_alloc_send_msg()
3263 ring_id = le16_to_cpu(resp->ring_id); in hwrm_ring_alloc_send_msg()
3377 struct hwrm_ring_free_output *resp = bp->hwrm_cmd_resp_addr; in hwrm_ring_free_send_msg() local
3386 error_code = le16_to_cpu(resp->error_code); in hwrm_ring_free_send_msg()
3581 struct hwrm_stat_ctx_alloc_output *resp = bp->hwrm_cmd_resp_addr; in bnxt_hwrm_stat_ctx_alloc() local
3599 cpr->hw_stats_ctx_id = le32_to_cpu(resp->stat_ctx_id); in bnxt_hwrm_stat_ctx_alloc()
3611 struct hwrm_func_qcaps_output *resp = bp->hwrm_cmd_resp_addr; in bnxt_hwrm_func_qcaps() local
3624 pf->fw_fid = le16_to_cpu(resp->fid); in bnxt_hwrm_func_qcaps()
3625 pf->port_id = le16_to_cpu(resp->port_id); in bnxt_hwrm_func_qcaps()
3626 memcpy(pf->mac_addr, resp->perm_mac_address, ETH_ALEN); in bnxt_hwrm_func_qcaps()
3628 pf->max_rsscos_ctxs = le16_to_cpu(resp->max_rsscos_ctx); in bnxt_hwrm_func_qcaps()
3629 pf->max_cp_rings = le16_to_cpu(resp->max_cmpl_rings); in bnxt_hwrm_func_qcaps()
3630 pf->max_tx_rings = le16_to_cpu(resp->max_tx_rings); in bnxt_hwrm_func_qcaps()
3632 pf->max_rx_rings = le16_to_cpu(resp->max_rx_rings); in bnxt_hwrm_func_qcaps()
3634 pf->max_l2_ctxs = le16_to_cpu(resp->max_l2_ctxs); in bnxt_hwrm_func_qcaps()
3635 pf->max_vnics = le16_to_cpu(resp->max_vnics); in bnxt_hwrm_func_qcaps()
3636 pf->max_stat_ctxs = le16_to_cpu(resp->max_stat_ctx); in bnxt_hwrm_func_qcaps()
3637 pf->first_vf_id = le16_to_cpu(resp->first_vf_id); in bnxt_hwrm_func_qcaps()
3638 pf->max_vfs = le16_to_cpu(resp->max_vfs); in bnxt_hwrm_func_qcaps()
3639 pf->max_encap_records = le32_to_cpu(resp->max_encap_records); in bnxt_hwrm_func_qcaps()
3640 pf->max_decap_records = le32_to_cpu(resp->max_decap_records); in bnxt_hwrm_func_qcaps()
3641 pf->max_tx_em_flows = le32_to_cpu(resp->max_tx_em_flows); in bnxt_hwrm_func_qcaps()
3642 pf->max_tx_wm_flows = le32_to_cpu(resp->max_tx_wm_flows); in bnxt_hwrm_func_qcaps()
3643 pf->max_rx_em_flows = le32_to_cpu(resp->max_rx_em_flows); in bnxt_hwrm_func_qcaps()
3644 pf->max_rx_wm_flows = le32_to_cpu(resp->max_rx_wm_flows); in bnxt_hwrm_func_qcaps()
3649 vf->fw_fid = le16_to_cpu(resp->fid); in bnxt_hwrm_func_qcaps()
3650 memcpy(vf->mac_addr, resp->perm_mac_address, ETH_ALEN); in bnxt_hwrm_func_qcaps()
3657 vf->max_rsscos_ctxs = le16_to_cpu(resp->max_rsscos_ctx); in bnxt_hwrm_func_qcaps()
3658 vf->max_cp_rings = le16_to_cpu(resp->max_cmpl_rings); in bnxt_hwrm_func_qcaps()
3659 vf->max_tx_rings = le16_to_cpu(resp->max_tx_rings); in bnxt_hwrm_func_qcaps()
3660 vf->max_rx_rings = le16_to_cpu(resp->max_rx_rings); in bnxt_hwrm_func_qcaps()
3661 vf->max_l2_ctxs = le16_to_cpu(resp->max_l2_ctxs); in bnxt_hwrm_func_qcaps()
3662 vf->max_vnics = le16_to_cpu(resp->max_vnics); in bnxt_hwrm_func_qcaps()
3663 vf->max_stat_ctxs = le16_to_cpu(resp->max_stat_ctx); in bnxt_hwrm_func_qcaps()
3668 if (resp->flags & in bnxt_hwrm_func_qcaps()
3691 struct hwrm_queue_qportcfg_output *resp = bp->hwrm_cmd_resp_addr; in bnxt_hwrm_queue_qportcfg() local
3701 if (!resp->max_configurable_queues) { in bnxt_hwrm_queue_qportcfg()
3705 bp->max_tc = resp->max_configurable_queues; in bnxt_hwrm_queue_qportcfg()
3709 qptr = &resp->queue_id0; in bnxt_hwrm_queue_qportcfg()
3724 struct hwrm_ver_get_output *resp = bp->hwrm_cmd_resp_addr; in bnxt_hwrm_ver_get() local
3735 memcpy(&bp->ver_resp, resp, sizeof(struct hwrm_ver_get_output)); in bnxt_hwrm_ver_get()
3737 if (req.hwrm_intf_maj != resp->hwrm_intf_maj || in bnxt_hwrm_ver_get()
3738 req.hwrm_intf_min != resp->hwrm_intf_min || in bnxt_hwrm_ver_get()
3739 req.hwrm_intf_upd != resp->hwrm_intf_upd) { in bnxt_hwrm_ver_get()
3741 resp->hwrm_intf_maj, resp->hwrm_intf_min, in bnxt_hwrm_ver_get()
3742 resp->hwrm_intf_upd, req.hwrm_intf_maj, in bnxt_hwrm_ver_get()
3747 resp->hwrm_fw_maj, resp->hwrm_fw_min, resp->hwrm_fw_bld, in bnxt_hwrm_ver_get()
3748 resp->hwrm_intf_maj, resp->hwrm_intf_min, resp->hwrm_intf_upd); in bnxt_hwrm_ver_get()
4339 struct hwrm_port_phy_qcfg_output *resp = bp->hwrm_cmd_resp_addr; in bnxt_update_link() local
4351 memcpy(&link_info->phy_qcfg_resp, resp, sizeof(*resp)); in bnxt_update_link()
4352 link_info->phy_link_status = resp->link; in bnxt_update_link()
4353 link_info->duplex = resp->duplex; in bnxt_update_link()
4354 link_info->pause = resp->pause; in bnxt_update_link()
4355 link_info->auto_mode = resp->auto_mode; in bnxt_update_link()
4356 link_info->auto_pause_setting = resp->auto_pause; in bnxt_update_link()
4357 link_info->force_pause_setting = resp->force_pause; in bnxt_update_link()
4358 link_info->duplex_setting = resp->duplex_setting; in bnxt_update_link()
4360 link_info->link_speed = le16_to_cpu(resp->link_speed); in bnxt_update_link()
4363 link_info->force_link_speed = le16_to_cpu(resp->force_link_speed); in bnxt_update_link()
4364 link_info->auto_link_speed = le16_to_cpu(resp->auto_link_speed); in bnxt_update_link()
4365 link_info->support_speeds = le16_to_cpu(resp->support_speeds); in bnxt_update_link()
4366 link_info->auto_link_speeds = le16_to_cpu(resp->auto_link_speed_mask); in bnxt_update_link()
4367 link_info->preemphasis = le32_to_cpu(resp->preemphasis); in bnxt_update_link()
4368 link_info->phy_ver[0] = resp->phy_maj; in bnxt_update_link()
4369 link_info->phy_ver[1] = resp->phy_min; in bnxt_update_link()
4370 link_info->phy_ver[2] = resp->phy_bld; in bnxt_update_link()
4371 link_info->media_type = resp->media_type; in bnxt_update_link()
4372 link_info->transceiver = resp->transceiver_type; in bnxt_update_link()
4373 link_info->phy_addr = resp->phy_addr; in bnxt_update_link()