Home
last modified time | relevance | path

Searched refs:link_cfg (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c339 if (p->link_cfg.autoneg != AUTONEG_ENABLE) in restart_autoneg()
624 fw_caps_to_lmm(pi->port_type, pi->link_cfg.pcaps, in get_link_ksettings()
626 fw_caps_to_lmm(pi->port_type, pi->link_cfg.acaps, in get_link_ksettings()
628 fw_caps_to_lmm(pi->port_type, pi->link_cfg.lpacaps, in get_link_ksettings()
632 ? pi->link_cfg.speed in get_link_ksettings()
636 if (pi->link_cfg.fc & PAUSE_RX) { in get_link_ksettings()
637 if (pi->link_cfg.fc & PAUSE_TX) { in get_link_ksettings()
646 } else if (pi->link_cfg.fc & PAUSE_TX) { in get_link_ksettings()
652 base->autoneg = pi->link_cfg.autoneg; in get_link_ksettings()
653 if (pi->link_cfg.pcaps & FW_PORT_CAP32_ANEG) in get_link_ksettings()
[all …]
Dcxgb4_main.c198 switch (p->link_cfg.speed) { in link_report()
222 dev->name, p->link_cfg.speed); in link_report()
227 fc[p->link_cfg.fc]); in link_report()
332 pi->link_cfg.redo_l1cfg = netif_running(dev); in t4_os_portmod_changed()
465 &pi->link_cfg); in link_start()
4872 n10g += is_x_10g_port(&adap2pinfo(adap, i)->link_cfg); in cfg_queues()
4909 pi->nqsets = is_x_10g_port(&pi->link_cfg) ? q10g : 1; in cfg_queues()
5150 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_100M) in print_port_info()
5152 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_1G) in print_port_info()
5154 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_10G) in print_port_info()
[all …]
Dcxgb4.h573 struct link_config link_cfg; member
Dt4_hw.c8102 rx_en && tx_en && pi->link_cfg.link_ok); in t4_enable_pi_params()
8398 struct link_config *lc = &pi->link_cfg; in t4_handle_get_port_info()
9438 init_link_config(&pi->link_cfg, pcaps, acaps); in t4_init_portinfo()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c158 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()
[all …]
Dadapter.h106 struct link_config link_cfg; /* physical port configuration */ member
Dt4vf_hw.c580 init_link_config(&pi->link_cfg, pcaps, acaps); in t4vf_port_init()
1422 rx_en && tx_en && pi->link_cfg.link_ok); in t4vf_enable_pi()
1908 struct link_config *lc = &pi->link_cfg; in t4vf_handle_get_port_info()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c1469 if (vf->link_cfg == IFLA_VF_LINK_STATE_AUTO) { in bnx2x_iov_link_update_vf()
1486 } else if (vf->link_cfg == IFLA_VF_LINK_STATE_DISABLE && in bnx2x_iov_link_update_vf()
1490 } else if (vf->link_cfg == IFLA_VF_LINK_STATE_ENABLE && in bnx2x_iov_link_update_vf()
1502 vf->link_cfg, bulletin->link_speed, bulletin->link_flags); in bnx2x_iov_link_update_vf()
1525 if (vf->link_cfg == link_state) in bnx2x_set_vf_link_state()
1528 vf->link_cfg = link_state; in bnx2x_set_vf_link_state()
Dbnx2x_sriov.h133 u8 link_cfg; /* IFLA_VF_LINK_STATE_AUTO member
/Linux-v4.19/drivers/scsi/csiostor/
Dcsio_hw.h335 struct link_config link_cfg; member
Dcsio_hw.c1837 csio_init_link_config(&hw->pport[i].link_cfg, pcaps, acaps); in csio_enable_ports()
1839 csio_link_l1cfg(&hw->pport[i].link_cfg, fw_caps, &rcaps); in csio_enable_ports()
/Linux-v4.19/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c816 linkspeed = pi->link_cfg.speed; in cxgbit_set_tcp_window()
/Linux-v4.19/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1697 linkspeed = ((struct port_info *)netdev_priv(ndev))->link_cfg.speed; in init_act_open()