Home
last modified time | relevance | path

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

/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c461 if (p->link_cfg.autoneg != AUTONEG_ENABLE) in restart_autoneg()
734 fw_caps_to_lmm(pi->port_type, pi->link_cfg.pcaps, in get_link_ksettings()
736 fw_caps_to_lmm(pi->port_type, pi->link_cfg.acaps, in get_link_ksettings()
738 fw_caps_to_lmm(pi->port_type, pi->link_cfg.lpacaps, in get_link_ksettings()
742 base->speed = pi->link_cfg.speed; in get_link_ksettings()
749 if (pi->link_cfg.fc & PAUSE_RX) { in get_link_ksettings()
750 if (pi->link_cfg.fc & PAUSE_TX) { in get_link_ksettings()
759 } else if (pi->link_cfg.fc & PAUSE_TX) { in get_link_ksettings()
765 base->autoneg = pi->link_cfg.autoneg; in get_link_ksettings()
766 if (pi->link_cfg.pcaps & FW_PORT_CAP32_ANEG) in get_link_ksettings()
[all …]
Dcxgb4_main.c191 switch (p->link_cfg.speed) { in link_report()
212 dev->name, p->link_cfg.speed); in link_report()
217 fc[p->link_cfg.fc]); in link_report()
450 &pi->link_cfg); in link_start()
4220 n10g += is_x_10g_port(&adap2pinfo(adap, i)->link_cfg); in cfg_queues()
4256 pi->nqsets = is_x_10g_port(&pi->link_cfg) ? q10g : 1; in cfg_queues()
4576 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_100M) in print_port_info()
4578 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_1G) in print_port_info()
4580 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_10G) in print_port_info()
4582 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_25G) in print_port_info()
[all …]
Dcxgb4.h523 struct link_config link_cfg; member
Dt4_hw.c7882 struct link_config *lc = &pi->link_cfg; in t4_handle_get_port_info()
8788 init_link_config(&pi->link_cfg, pcaps, acaps); in t4_init_portinfo()
/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c160 switch (pi->link_cfg.speed) { in t4vf_os_link_changed()
185 switch ((int)pi->link_cfg.fc) { in t4vf_os_link_changed()
818 pi->link_cfg.link_ok = 0; in cxgb4vf_stop()
1380 fw_caps_to_lmm(pi->port_type, pi->link_cfg.pcaps, in cxgb4vf_get_link_ksettings()
1382 fw_caps_to_lmm(pi->port_type, pi->link_cfg.acaps, in cxgb4vf_get_link_ksettings()
1384 fw_caps_to_lmm(pi->port_type, pi->link_cfg.lpacaps, in cxgb4vf_get_link_ksettings()
1388 base->speed = pi->link_cfg.speed; in cxgb4vf_get_link_ksettings()
1395 base->autoneg = pi->link_cfg.autoneg; in cxgb4vf_get_link_ksettings()
1396 if (pi->link_cfg.pcaps & FW_PORT_CAP32_ANEG) in cxgb4vf_get_link_ksettings()
1399 if (pi->link_cfg.autoneg) in cxgb4vf_get_link_ksettings()
[all …]
Dadapter.h105 struct link_config link_cfg; /* physical port configuration */ member
Dt4vf_hw.c542 init_link_config(&pi->link_cfg, pcaps, acaps); in t4vf_port_init()
1846 struct link_config *lc = &pi->link_cfg; in t4vf_handle_get_port_info()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c1466 if (vf->link_cfg == IFLA_VF_LINK_STATE_AUTO) { in bnx2x_iov_link_update_vf()
1483 } else if (vf->link_cfg == IFLA_VF_LINK_STATE_DISABLE && in bnx2x_iov_link_update_vf()
1487 } else if (vf->link_cfg == IFLA_VF_LINK_STATE_ENABLE && in bnx2x_iov_link_update_vf()
1499 vf->link_cfg, bulletin->link_speed, bulletin->link_flags); in bnx2x_iov_link_update_vf()
1522 if (vf->link_cfg == link_state) in bnx2x_set_vf_link_state()
1525 vf->link_cfg = link_state; in bnx2x_set_vf_link_state()
Dbnx2x_sriov.h133 u8 link_cfg; /* IFLA_VF_LINK_STATE_AUTO member
/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c779 linkspeed = pi->link_cfg.speed; in cxgbit_set_tcp_window()
/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1697 linkspeed = ((struct port_info *)netdev_priv(ndev))->link_cfg.speed; in init_act_open()