Lines Matching refs:link_cfg
158 switch (pi->link_cfg.speed) { in t4vf_os_link_changed()
183 switch ((int)pi->link_cfg.fc) { in t4vf_os_link_changed()
1406 fw_caps_to_lmm(pi->port_type, pi->link_cfg.pcaps, in cxgb4vf_get_link_ksettings()
1408 fw_caps_to_lmm(pi->port_type, pi->link_cfg.acaps, in cxgb4vf_get_link_ksettings()
1410 fw_caps_to_lmm(pi->port_type, pi->link_cfg.lpacaps, in cxgb4vf_get_link_ksettings()
1414 base->speed = pi->link_cfg.speed; in cxgb4vf_get_link_ksettings()
1421 if (pi->link_cfg.fc & PAUSE_RX) { in cxgb4vf_get_link_ksettings()
1422 if (pi->link_cfg.fc & PAUSE_TX) { in cxgb4vf_get_link_ksettings()
1431 } else if (pi->link_cfg.fc & PAUSE_TX) { in cxgb4vf_get_link_ksettings()
1437 base->autoneg = pi->link_cfg.autoneg; in cxgb4vf_get_link_ksettings()
1438 if (pi->link_cfg.pcaps & FW_PORT_CAP32_ANEG) in cxgb4vf_get_link_ksettings()
1441 if (pi->link_cfg.autoneg) in cxgb4vf_get_link_ksettings()
1488 const struct link_config *lc = &pi->link_cfg; in cxgb4vf_get_fecparam()
1647 pauseparam->autoneg = (pi->link_cfg.requested_fc & PAUSE_AUTONEG) != 0; in cxgb4vf_get_pauseparam()
1648 pauseparam->rx_pause = (pi->link_cfg.fc & PAUSE_RX) != 0; in cxgb4vf_get_pauseparam()
1649 pauseparam->tx_pause = (pi->link_cfg.fc & PAUSE_TX) != 0; in cxgb4vf_get_pauseparam()
2714 n10g += is_x_10g_port(&adap2pinfo(adapter, pidx)->link_cfg); in cfg_queues()
2739 pi->nqsets = is_x_10g_port(&pi->link_cfg) ? q10g : 1; in cfg_queues()