Home
last modified time | relevance | path

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

123

/titanic_50/usr/src/uts/common/io/i40e/
H A Di40e_gld.c1097 *u8 = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_100MB) != 0; in i40e_m_getprop()
1106 *u8 = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_1GB) != 0; in i40e_m_getprop()
1115 *u8 = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_10GB) != 0; in i40e_m_getprop()
1124 *u8 = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_25GB) != 0; in i40e_m_getprop()
1133 *u8 = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_40GB) != 0; in i40e_m_getprop()
1187 (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_100MB) != 0); in i40e_m_propinfo()
1192 (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_100MB) != 0); in i40e_m_propinfo()
1197 (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_1GB) != 0); in i40e_m_propinfo()
1202 (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_1GB) != 0); in i40e_m_propinfo()
1207 (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_10GB) != 0); in i40e_m_propinfo()
[all …]
H A Di40e_stats.c933 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_100MB) != 0; in i40e_m_stat()
936 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_1GB) != 0; in i40e_m_stat()
939 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_10GB) != 0; in i40e_m_stat()
942 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_25GB) != 0; in i40e_m_stat()
945 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_40GB) != 0; in i40e_m_stat()
955 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_100MB) != 0; in i40e_m_stat()
958 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_1GB) != 0; in i40e_m_stat()
961 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_10GB) != 0; in i40e_m_stat()
964 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_25GB) != 0; in i40e_m_stat()
967 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_40GB) != 0; in i40e_m_stat()
/titanic_50/usr/src/uts/common/io/bnxe/
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.c139 *pVal = (pUM->props.link_speed * 1000000ULL); in BnxeMacStats()
296 switch (pUM->props.link_speed) in BnxeMacStats()
2611 uint64_t link_speed; in BnxeMacGetProperty() local
2635 ASSERT(pr_valsize >= sizeof(link_speed)); in BnxeMacGetProperty()
2637 link_speed = (pUM->props.link_speed * 1000000ULL); in BnxeMacGetProperty()
2638 bcopy(&link_speed, pr_val, sizeof(link_speed)); in BnxeMacGetProperty()
2645 link_state = pUM->props.link_speed ? in BnxeMacGetProperty()
/titanic_50/usr/src/uts/common/io/ntxn/
H A Dniu.c249 if (adapter->link_speed != MBPS_10 && in unm_niu_enable_gbe_port()
250 adapter->link_speed != MBPS_100 && in unm_niu_enable_gbe_port()
251 adapter->link_speed != MBPS_1000) { in unm_niu_enable_gbe_port()
258 adapter->link_speed = MBPS_1000; in unm_niu_enable_gbe_port()
299 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()
/titanic_50/usr/src/uts/common/io/hxge/
H A Dhxge_vmac.h50 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()
/titanic_50/usr/src/uts/common/io/1394/
H A Ds1394_bus_reset.c1312 uint8_t link_speed; in s1394_update_speed_map_link_speeds() local
1336 link_speed = (bus_capabilities & in s1394_update_speed_map_link_speeds()
1341 if (hal->speed_map[i][j] > link_speed) { in s1394_update_speed_map_link_speeds()
1343 link_speed; in s1394_update_speed_map_link_speeds()
1345 link_speed; in s1394_update_speed_map_link_speeds()
1348 if (link_speed < in s1394_update_speed_map_link_speeds()
1351 link_speed; in s1394_update_speed_map_link_speeds()
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_gld.c93 dev->link_speed = link.qos_link_speed ? link.qos_link_speed * 10 : in oce_start()
470 if (dev->link_speed < 0) { in oce_m_getprop()
472 dev->link_speed = link.qos_link_speed ? in oce_m_getprop()
477 *speed = dev->link_speed * 1000000ull; in oce_m_getprop()
H A Doce_mq.c73 dev->link_speed = -1; in oce_drain_mq_cq()
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()
/titanic_50/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()
4937 statsp->mac_stats.link_speed = 0; in nxge_mii_xcvr_init()
5044 statsp->mac_stats.link_speed = 1000; in nxge_mii_xcvr_init()
5066 statsp->mac_stats.link_speed = 100; in nxge_mii_xcvr_init()
[all …]
/titanic_50/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_dcb_82598.c346 s32 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, int link_speed, in ixgbe_dcb_hw_config_82598() argument
350 UNREFERENCED_1PARAMETER(link_speed); in ixgbe_dcb_hw_config_82598()
H A Dixgbe_dcb.h132 u32 link_speed; /* For bandwidth allocation validation purpose */ member
H A Dixgbe_dcb_82599.c579 s32 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, int link_speed, in ixgbe_dcb_hw_config_82599() argument
583 UNREFERENCED_1PARAMETER(link_speed); in ixgbe_dcb_hw_config_82599()
H A Dixgbe_82599.c778 ixgbe_link_speed link_speed = IXGBE_LINK_SPEED_UNKNOWN; in ixgbe_setup_mac_link_smartspeed() local
822 status = ixgbe_check_link(hw, &link_speed, &link_up, in ixgbe_setup_mac_link_smartspeed()
857 status = ixgbe_check_link(hw, &link_speed, &link_up, FALSE); in ixgbe_setup_mac_link_smartspeed()
871 if (link_up && (link_speed == IXGBE_LINK_SPEED_1GB_FULL)) in ixgbe_setup_mac_link_smartspeed()
1030 ixgbe_link_speed link_speed; in ixgbe_reset_hw_82599() local
1080 hw->mac.ops.check_link(hw, &link_speed, &link_up, FALSE); in ixgbe_reset_hw_82599()
H A Dixgbe_dcb.c664 ret = ixgbe_dcb_hw_config_82598(hw, dcb_config->link_speed, in ixgbe_dcb_hw_config_cee()
673 ret = ixgbe_dcb_hw_config_82599(hw, dcb_config->link_speed, in ixgbe_dcb_hw_config_cee()
H A Dixgbe_82598.c415 u32 link_speed = 0; in ixgbe_fc_enable_82598() local
445 hw->mac.ops.check_link(hw, &link_speed, &link_up, FALSE); in ixgbe_fc_enable_82598()
446 if (link_up && link_speed == IXGBE_LINK_SPEED_1GB_FULL) { in ixgbe_fc_enable_82598()
/titanic_50/usr/src/uts/common/io/ixgbe/
H A Dixgbe_stat.c58 ixgbe_ks->link_speed.value.ui64 = ixgbe->link_speed; in ixgbe_update_stats()
248 kstat_named_init(&ixgbe_ks->link_speed, "link_speed", in ixgbe_init_stats()
520 *val = ixgbe->link_speed * 1000000ull; in ixgbe_m_stat()
661 switch (ixgbe->link_speed) { in ixgbe_m_stat()
H A Dixgbe_sw.h634 uint32_t link_speed; member
759 kstat_named_t link_speed; /* Link Speed */ member
/titanic_50/usr/src/uts/common/io/chxge/
H A Doschtoe.h97 uint32_t link_speed; member
/titanic_50/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()
/titanic_50/usr/src/uts/common/io/i40e/core/
H A Di40e_virtchnl.h397 enum i40e_aq_link_speed link_speed; member
/titanic_50/usr/src/uts/common/sys/nxge/
H A Dnxge_mac.h148 uint32_t link_speed; member

123