Home
last modified time | relevance | path

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

1234

/illumos-gate/usr/src/uts/common/io/bnx/
H A Dbnx_mm.c481 if (umdevice->nddcfg.link_speed != 0) { in bnx_display_link_msg()
484 switch (umdevice->nddcfg.link_speed) { in bnx_display_link_msg()
674 int link_speed; in mm_indicate_link() local
694 link_speed = 10; in mm_indicate_link()
698 link_speed = 100; in mm_indicate_link()
702 link_speed = 1000; in mm_indicate_link()
706 link_speed = 2500; in mm_indicate_link()
710 link_speed = 0; in mm_indicate_link()
719 if (link_speed != 2500 && link_speed != 1000) { in mm_indicate_link()
720 link_speed = 0; in mm_indicate_link()
[all …]
H A Dbnxgldv3.c350 umdevice->nddcfg.link_speed == 0) { in bnx_m_tx()
401 if (um->nddcfg.link_speed == 0) { in bnx_um_to_media()
412 switch (um->nddcfg.link_speed) { in bnx_um_to_media()
421 switch (um->nddcfg.link_speed) { in bnx_um_to_media()
480 *val = umdevice->nddcfg.link_speed * 1000000ull; in bnx_m_stats()
1234 uint64_t link_speed; in bnx_m_getprop() local
1259 link_speed = umdevice->nddcfg.link_speed * 1000000ull; in bnx_m_getprop()
1261 ASSERT(pr_valsize >= sizeof (link_speed)); in bnx_m_getprop()
1263 bcopy(&link_speed, pr_val, sizeof (link_speed)); in bnx_m_getprop()
1267 link_state = umdevice->nddcfg.link_speed ? in bnx_m_getprop()
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_gld.c1022 config.link_speed = abilities.link_speed; in i40e_update_fec()
1331 *u8 = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_100MB) != 0; in i40e_m_getprop()
1340 *u8 = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_1GB) != 0; in i40e_m_getprop()
1349 *u8 = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_2_5GB) != 0; in i40e_m_getprop()
1358 *u8 = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_5GB) != 0; in i40e_m_getprop()
1367 *u8 = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_10GB) != 0; in i40e_m_getprop()
1376 *u8 = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_25GB) != 0; in i40e_m_getprop()
1385 *u8 = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_40GB) != 0; in i40e_m_getprop()
1452 (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_100MB) != 0); in i40e_m_propinfo()
1457 (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_100MB) != 0); in i40e_m_propinfo()
[all …]
H A Di40e_stats.c924 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_100MB) != 0; in i40e_m_stat()
927 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_1GB) != 0; in i40e_m_stat()
930 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_2_5GB) != 0; in i40e_m_stat()
933 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_5GB) != 0; in i40e_m_stat()
936 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_10GB) != 0; in i40e_m_stat()
939 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_25GB) != 0; in i40e_m_stat()
942 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_40GB) != 0; in i40e_m_stat()
952 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_100MB) != 0; in i40e_m_stat()
955 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_1GB) != 0; in i40e_m_stat()
958 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_2_5GB) != 0; in i40e_m_stat()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_illumos.c115 um->props.link_speed == map->bmm_speed) { in bnxe_phy_to_media()
122 switch (um->props.link_speed) { in bnxe_phy_to_media()
140 switch (um->props.link_speed) { in bnxe_phy_to_media()
152 if (um->props.link_speed == 10000) { in bnxe_phy_to_media()
H A Dbnxe_mm.c968 pUM->props.link_speed = 0; in BnxeLinkStatus()
1037 pUM->props.link_speed = 10; in BnxeLinkStatus()
1043 pUM->props.link_speed = 100; in BnxeLinkStatus()
1049 pUM->props.link_speed = 1000; in BnxeLinkStatus()
1055 pUM->props.link_speed = 2500; in BnxeLinkStatus()
1061 pUM->props.link_speed = 10000; in BnxeLinkStatus()
1067 pUM->props.link_speed = 12000; in BnxeLinkStatus()
1073 pUM->props.link_speed = 12500; in BnxeLinkStatus()
1079 pUM->props.link_speed = 13000; in BnxeLinkStatus()
1085 pUM->props.link_speed = 15000; in BnxeLinkStatus()
[all …]
H A Dbnxe_gld.c141 *pVal = (pUM->props.link_speed * 1000000ULL); in BnxeMacStats()
2598 uint64_t link_speed; in BnxeMacGetProperty() local
2623 ASSERT(pr_valsize >= sizeof(link_speed)); in BnxeMacGetProperty()
2625 link_speed = (pUM->props.link_speed * 1000000ULL); in BnxeMacGetProperty()
2626 bcopy(&link_speed, pr_val, sizeof(link_speed)); in BnxeMacGetProperty()
2633 link_state = pUM->props.link_speed ? in BnxeMacGetProperty()
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dniu.c246 if (adapter->link_speed != MBPS_10 && in unm_niu_enable_gbe_port()
247 adapter->link_speed != MBPS_100 && in unm_niu_enable_gbe_port()
248 adapter->link_speed != MBPS_1000) { in unm_niu_enable_gbe_port()
255 adapter->link_speed = MBPS_1000; in unm_niu_enable_gbe_port()
296 switch (adapter->link_speed) { in unm_niu_enable_gbe_port()
H A Dunm_nic_hw.c2029 adapter->link_speed = MBPS_1000; in unm_nic_set_link_parameters()
2037 case 0: adapter->link_speed = MBPS_10; in unm_nic_set_link_parameters()
2039 case 1: adapter->link_speed = MBPS_100; in unm_nic_set_link_parameters()
2041 case 2: adapter->link_speed = MBPS_1000; in unm_nic_set_link_parameters()
2044 adapter->link_speed = defval; in unm_nic_set_link_parameters()
2057 adapter->link_speed = defval; in unm_nic_set_link_parameters()
2061 adapter->link_speed = defval; in unm_nic_set_link_parameters()
/illumos-gate/usr/src/uts/common/io/1394/
H A Ds1394_bus_reset.c1100 uint8_t link_speed; in s1394_update_speed_map_link_speeds() local
1121 link_speed = (bus_capabilities & in s1394_update_speed_map_link_speeds()
1126 if (hal->speed_map[i][j] > link_speed) { in s1394_update_speed_map_link_speeds()
1128 link_speed; in s1394_update_speed_map_link_speeds()
1130 link_speed; in s1394_update_speed_map_link_speeds()
1133 if (link_speed < in s1394_update_speed_map_link_speeds()
1136 link_speed; in s1394_update_speed_map_link_speeds()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_gld.c97 dev->link_speed = link.qos_link_speed ? link.qos_link_speed * 10 : in oce_start()
474 if (dev->link_speed < 0) { in oce_m_getprop()
476 dev->link_speed = link.qos_link_speed ? in oce_m_getprop()
481 *speed = dev->link_speed * 1000000ull; in oce_m_getprop()
H A Doce_stat.c366 if (dev->link_speed < 0) { in oce_m_stat()
368 dev->link_speed = link.qos_link_speed ? in oce_m_stat()
372 *val = dev->link_speed * 1000000ull; in oce_m_stat()
H A Doce_mq.c73 dev->link_speed = -1; in oce_drain_mq_cq()
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_vmac.h48 uint32_t link_speed; member
H A Dhxge_kstats.c752 kstat_named_init(&hxgekp->link_speed, "link_speed", KSTAT_DATA_ULONG); in hxge_setup_kstats()
853 hxgekp->ifspeed.value.ul = statsp->mac_stats.link_speed * 1000000ULL; in hxge_port_kstat_update()
868 hxgekp->link_speed.value.ul = statsp->mac_stats.link_speed; in hxge_port_kstat_update()
962 val = statsp->mac_stats.link_speed * 1000000ull; in hxge_m_stat()
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_mac.c1080 if (statsp->mac_stats.link_speed == 100) in nxge_xif_init()
1129 portn, portmode, statsp->mac_stats.link_speed)); in nxge_xif_init()
1130 if (statsp->mac_stats.link_speed == 1000) { in nxge_xif_init()
1154 if (statsp->mac_stats.link_speed == 100) in nxge_xif_init()
1161 if (statsp->mac_stats.link_speed == 1000) in nxge_xif_init()
4016 statsp->mac_stats.link_speed = 1000; in nxge_tn1010_xcvr_init()
4020 statsp->mac_stats.link_speed = 10000; in nxge_tn1010_xcvr_init()
4921 statsp->mac_stats.link_speed = 0; in nxge_mii_xcvr_init()
5016 statsp->mac_stats.link_speed = 1000; in nxge_mii_xcvr_init()
5034 statsp->mac_stats.link_speed = 100; in nxge_mii_xcvr_init()
[all …]
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
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 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()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge_mpi.c366 uint8_t link_speed; in ql_async_event_parser() local
394 link_speed = (uint8_t)((link_status >> 3) & 0x07); in ql_async_event_parser()
396 if (link_speed == 0) { in ql_async_event_parser()
400 } else if (link_speed == 1) { in ql_async_event_parser()
404 } else if (link_speed == 2) { in ql_async_event_parser()
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_stat.c188 ixgbe_ks->link_speed.value.ui64 = ixgbe->link_speed; in ixgbe_update_stats()
341 kstat_named_init(&ixgbe_ks->link_speed, "link_speed", in ixgbe_init_stats()
489 *val = ixgbe->link_speed * 1000000ull; in ixgbe_m_stat()
/illumos-gate/usr/src/uts/common/io/chxge/
H A Doschtoe.h95 uint32_t link_speed; member
/illumos-gate/usr/src/uts/common/io/qede/
H A Dqede_gld.c731 *value = (qede->props.link_speed * 1000000ULL);
838 switch (qede->props.link_speed) {
2322 uint64_t link_speed; local
2351 ASSERT(pr_valsize >= sizeof(link_speed));
2353 link_speed = (qede->props.link_speed * 1000000ULL);
2354 bcopy(&link_speed, pr_val, sizeof(link_speed));
H A Dqede_cfg.c212 qede->props.link_speed = 0; in qede_cfg_reset()

1234