Home
last modified time | relevance | path

Searched refs:link_speed (Results 1 – 25 of 63) sorted by relevance

123

/freebsd-12.1/sys/dev/qlxgbe/
H A Dql_inline.h93 uint32_t link_speed; in qla_get_optics() local
95 link_speed = READ_REG32(ha, Q8_LINK_SPEED_0); in qla_get_optics()
97 link_speed = link_speed & 0xFF; in qla_get_optics()
99 link_speed = (link_speed >> 8) & 0xFF; in qla_get_optics()
101 switch (link_speed) { in qla_get_optics()
103 link_speed = IFM_100_FX; in qla_get_optics()
107 link_speed = IFM_1000_SX; in qla_get_optics()
114 link_speed = (IFM_10G_TWINAX); in qla_get_optics()
116 link_speed = (IFM_10G_LR | IFM_10G_SR); in qla_get_optics()
120 return(link_speed); in qla_get_optics()
H A Dql_ioctl.h142 uint16_t link_speed; member
H A Dql_ioctl.c493 hdr->link_speed = ha->hw.link_speed; in ql_capture_drvr_state()
/freebsd-12.1/sys/dev/qlxgb/
H A Dqla_inline.h100 uint32_t link_speed; in qla_get_optics() local
102 link_speed = READ_REG32(ha, Q8_LINK_SPEED_0); in qla_get_optics()
104 link_speed = link_speed & 0xFF; in qla_get_optics()
106 link_speed = (link_speed >> 8) & 0xFF; in qla_get_optics()
108 switch (link_speed) { in qla_get_optics()
110 link_speed = IFM_100_FX; in qla_get_optics()
114 link_speed = IFM_1000_SX; in qla_get_optics()
118 link_speed = (IFM_10G_LR | IFM_10G_SR); in qla_get_optics()
122 return(link_speed); in qla_get_optics()
H A Dqla_hw.h694 uint16_t link_speed; member
745 uint16_t link_speed; member
/freebsd-12.1/sys/dev/qlxge/
H A Dqls_inline.h47 uint32_t link_speed = 0; in qls_get_optics() local
54 link_speed = (IFM_10G_LR | IFM_10G_SR); in qls_get_optics()
60 link_speed = IFM_10G_TWINAX; in qls_get_optics()
68 link_speed = IFM_1000_SX; in qls_get_optics()
73 return(link_speed); in qls_get_optics()
/freebsd-12.1/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_port.c95 switch (qport_context->link_speed & MLX4_EN_SPEED_MASK) { in mlx4_en_QUERY_PORT()
97 state->link_speed = 100; in mlx4_en_QUERY_PORT()
100 state->link_speed = 1000; in mlx4_en_QUERY_PORT()
104 state->link_speed = 10000; in mlx4_en_QUERY_PORT()
107 state->link_speed = 20000; in mlx4_en_QUERY_PORT()
110 state->link_speed = 40000; in mlx4_en_QUERY_PORT()
113 state->link_speed = 56000; in mlx4_en_QUERY_PORT()
116 state->link_speed = -1; in mlx4_en_QUERY_PORT()
/freebsd-12.1/sys/dev/ixl/
H A Diavf.h129 enum virtchnl_link_speed link_speed; member
216 char *iavf_vc_speed_to_string(enum virtchnl_link_speed link_speed);
H A Diavf_vc.c882 iavf_vc_speed_to_string(vpe->event_data.link_event.link_speed)); in iavf_vc_completion()
885 sc->link_speed = in iavf_vc_completion()
886 vpe->event_data.link_event.link_speed; in iavf_vc_completion()
H A Dixl_pf_main.c759 ixl_aq_speed_to_str(hw->phy.link_info.link_speed), in ixl_link_up_msg()
1042 pf->supported_speeds = abilities.link_speed; in ixl_setup_interface()
3349 ixl_aq_speed_to_str(enum i40e_aq_link_speed link_speed) in ixl_aq_speed_to_str() argument
3363 switch (link_speed) { in ixl_aq_speed_to_str()
3401 ixl_aq_speed_to_str(hw->phy.link_info.link_speed), in ixl_sysctl_current_speed()
3456 config.link_speed = speeds; in ixl_set_advertised_speeds()
3458 config.link_speed = ixl_convert_sysctl_aq_link_speed(speeds, true); in ixl_set_advertised_speeds()
3908 link_status.link_speed, in ixl_sysctl_link_status()
3988 abilities.link_speed, in ixl_sysctl_phy_abilities()
4661 config.link_speed = abilities->link_speed; in ixl_set_fec_config()
H A Dif_iavf.c1314 switch (sc->link_speed) { in iavf_if_media_status()
1840 baudrate = ixl_max_vc_speed_to_value(sc->link_speed); in iavf_update_link_status()
2140 iavf_vc_speed_to_string(enum virtchnl_link_speed link_speed) in iavf_vc_speed_to_string() argument
2154 switch (link_speed) { in iavf_vc_speed_to_string()
2189 iavf_vc_speed_to_string(sc->link_speed), in iavf_sysctl_current_speed()
/freebsd-12.1/sys/dev/qlnx/qlnxe/
H A Decore_init_fw_funcs.h132 u32 link_speed,
199 u32 link_speed);
H A Decore_init_fw_funcs.c631 u32 link_speed, in ecore_vport_rl_rt_init() argument
644 inc_val = QM_RL_INC_VAL(vport_params[i].vport_rl ? vport_params[i].vport_rl : link_speed); in ecore_vport_rl_rt_init()
645 if (inc_val > QM_VP_RL_MAX_INC_VAL(link_speed)) { in ecore_vport_rl_rt_init()
651 …fn, QM_REG_RLGLBLUPPERBOUND_RT_OFFSET + vport_id, QM_VP_RL_UPPER_BOUND(link_speed) | (u32)QM_RL_CR… in ecore_vport_rl_rt_init()
768 u32 link_speed, in ecore_qm_pf_rt_init() argument
805 if (ecore_vport_rl_rt_init(p_hwfn, start_vport, num_vports, link_speed, vport_params)) in ecore_qm_pf_rt_init()
877 u32 link_speed) in ecore_init_vport_rl() argument
886 inc_val = QM_RL_INC_VAL(vport_rl ? vport_rl : link_speed); in ecore_init_vport_rl()
887 if (inc_val > QM_VP_RL_MAX_INC_VAL(link_speed)) { in ecore_init_vport_rl()
/freebsd-12.1/sys/dev/ixgbe/
H A Dixgbe_dcb_82598.c359 s32 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, int link_speed, in ixgbe_dcb_hw_config_82598() argument
363 UNREFERENCED_1PARAMETER(link_speed); in ixgbe_dcb_hw_config_82598()
H A Dif_ix.c2104 switch (adapter->link_speed) { in ixgbe_if_media_status()
2120 switch (adapter->link_speed) { in ixgbe_if_media_status()
2126 switch (adapter->link_speed) { in ixgbe_if_media_status()
2135 switch (adapter->link_speed) { in ixgbe_if_media_status()
2145 switch (adapter->link_speed) { in ixgbe_if_media_status()
2154 switch (adapter->link_speed) { in ixgbe_if_media_status()
2165 switch (adapter->link_speed) { in ixgbe_if_media_status()
2179 switch (adapter->link_speed) { in ixgbe_if_media_status()
2192 switch (adapter->link_speed) { in ixgbe_if_media_status()
3551 dcfg->link_speed ^ adapter->link_speed) { in ixgbe_config_dmac()
[all …]
H A Dixgbe_dcb.h133 u32 link_speed; /* For bandwidth allocation validation purpose */ member
H A Dixgbe_dcb_82599.c597 s32 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, int link_speed, in ixgbe_dcb_hw_config_82599() argument
601 UNREFERENCED_1PARAMETER(link_speed); in ixgbe_dcb_hw_config_82599()
H A Dixgbe_82599.c783 ixgbe_link_speed link_speed = IXGBE_LINK_SPEED_UNKNOWN; in ixgbe_setup_mac_link_smartspeed() local
827 status = ixgbe_check_link(hw, &link_speed, &link_up, in ixgbe_setup_mac_link_smartspeed()
862 status = ixgbe_check_link(hw, &link_speed, &link_up, FALSE); in ixgbe_setup_mac_link_smartspeed()
876 if (link_up && (link_speed == IXGBE_LINK_SPEED_1GB_FULL)) in ixgbe_setup_mac_link_smartspeed()
1035 ixgbe_link_speed link_speed; in ixgbe_reset_hw_82599() local
1085 hw->mac.ops.check_link(hw, &link_speed, &link_up, FALSE); in ixgbe_reset_hw_82599()
H A Dixgbe_dcb.c678 ret = ixgbe_dcb_hw_config_82598(hw, dcb_config->link_speed, in ixgbe_dcb_hw_config_cee()
688 ret = ixgbe_dcb_hw_config_82599(hw, dcb_config->link_speed, in ixgbe_dcb_hw_config_cee()
H A Dixgbe_82598.c416 u32 link_speed = 0; in ixgbe_fc_enable_82598() local
446 hw->mac.ops.check_link(hw, &link_speed, &link_up, FALSE); in ixgbe_fc_enable_82598()
447 if (link_up && link_speed == IXGBE_LINK_SPEED_1GB_FULL) { in ixgbe_fc_enable_82598()
/freebsd-12.1/contrib/ofed/opensm/opensm/
H A Dosm_link_mgr.c351 if (p_pi->link_speed != p_old_pi->link_speed) in link_mgr_set_physp_pi()
H A Dosm_sa_portinfo_record.c125 p_pi->link_speed = in pir_rcv_new_pir()
126 (uint8_t) ((p_pi->link_speed & IB_PORT_LINK_SPEED_ENABLED_MASK) | in pir_rcv_new_pir()
/freebsd-12.1/sys/ofed/include/rdma/
H A Dopa_port_info.h328 } link_speed; member
/freebsd-12.1/sys/dev/e1000/
H A Dif_em.h514 u16 link_speed; member
/freebsd-12.1/sys/dev/ntb/
H A Dntb_transport.c210 enum ntb_speed link_speed; member
1090 if (ntb_link_is_up(nt->dev, &nt->link_speed, &nt->link_width)) { in ntb_transport_event_callback()
1186 if (ntb_link_is_up(dev, &nt->link_speed, &nt->link_width)) in ntb_transport_link_work()
1484 switch (nt->link_speed) { in ntb_transport_link_speed()

123