Lines Matching refs:phy_qcfg_resp
1088 struct hwrm_port_phy_qcfg_output_compat phy_qcfg_resp = {}; in bnxt_vf_set_link() local
1094 memcpy(&phy_qcfg_resp, &bp->link_info.phy_qcfg_resp, in bnxt_vf_set_link()
1095 sizeof(phy_qcfg_resp)); in bnxt_vf_set_link()
1097 phy_qcfg_resp.resp_len = cpu_to_le16(sizeof(phy_qcfg_resp)); in bnxt_vf_set_link()
1098 phy_qcfg_resp.seq_id = phy_qcfg_req->seq_id; in bnxt_vf_set_link()
1102 phy_qcfg_resp.option_flags &= in bnxt_vf_set_link()
1104 phy_qcfg_resp.valid = 1; in bnxt_vf_set_link()
1108 if (phy_qcfg_resp.link != in bnxt_vf_set_link()
1110 phy_qcfg_resp.link = in bnxt_vf_set_link()
1112 phy_qcfg_resp.link_speed = cpu_to_le16( in bnxt_vf_set_link()
1114 phy_qcfg_resp.duplex_cfg = in bnxt_vf_set_link()
1116 phy_qcfg_resp.duplex_state = in bnxt_vf_set_link()
1118 phy_qcfg_resp.pause = in bnxt_vf_set_link()
1124 phy_qcfg_resp.link = PORT_PHY_QCFG_RESP_LINK_NO_LINK; in bnxt_vf_set_link()
1125 phy_qcfg_resp.link_speed = 0; in bnxt_vf_set_link()
1126 phy_qcfg_resp.duplex_state = in bnxt_vf_set_link()
1128 phy_qcfg_resp.pause = 0; in bnxt_vf_set_link()
1130 rc = bnxt_hwrm_fwd_resp(bp, vf, &phy_qcfg_resp, in bnxt_vf_set_link()
1133 sizeof(phy_qcfg_resp)); in bnxt_vf_set_link()