Home
last modified time | relevance | path

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

123

/titanic_41/usr/src/uts/common/io/i40e/
H A Di40e_gld.c921 *u8 = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_100MB) != 0; in i40e_m_getprop()
930 *u8 = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_1GB) != 0; in i40e_m_getprop()
939 *u8 = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_10GB) != 0; in i40e_m_getprop()
948 *u8 = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_25GB) != 0; in i40e_m_getprop()
957 *u8 = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_40GB) != 0; in i40e_m_getprop()
1011 (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_100MB) != 0); in i40e_m_propinfo()
1016 (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_100MB) != 0); in i40e_m_propinfo()
1021 (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_1GB) != 0); in i40e_m_propinfo()
1026 (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_1GB) != 0); in i40e_m_propinfo()
1031 (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_10GB) != 0); in i40e_m_propinfo()
[all …]
H A Di40e_stats.c931 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_100MB) != 0; in i40e_m_stat()
934 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_1GB) != 0; in i40e_m_stat()
937 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_10GB) != 0; in i40e_m_stat()
940 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_25GB) != 0; in i40e_m_stat()
943 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_40GB) != 0; in i40e_m_stat()
953 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_100MB) != 0; in i40e_m_stat()
956 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_1GB) != 0; in i40e_m_stat()
959 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_10GB) != 0; in i40e_m_stat()
962 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_25GB) != 0; in i40e_m_stat()
965 *val = (i40e->i40e_phy.link_speed & I40E_LINK_SPEED_40GB) != 0; in i40e_m_stat()
/titanic_41/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_41/usr/src/uts/common/io/ixgbe/
H A Dixgbe_82599.c572 ixgbe_link_speed link_speed = IXGBE_LINK_SPEED_UNKNOWN; in ixgbe_setup_mac_link_multispeed_fiber() local
583 status = ixgbe_get_link_capabilities(hw, &link_speed, &negotiation); in ixgbe_setup_mac_link_multispeed_fiber()
587 speed &= link_speed; in ixgbe_setup_mac_link_multispeed_fiber()
598 status = ixgbe_check_link(hw, &link_speed, &link_up, FALSE); in ixgbe_setup_mac_link_multispeed_fiber()
602 if ((link_speed == IXGBE_LINK_SPEED_10GB_FULL) && link_up) in ixgbe_setup_mac_link_multispeed_fiber()
633 status = ixgbe_check_link(hw, &link_speed, in ixgbe_setup_mac_link_multispeed_fiber()
649 status = ixgbe_check_link(hw, &link_speed, &link_up, FALSE); in ixgbe_setup_mac_link_multispeed_fiber()
653 if ((link_speed == IXGBE_LINK_SPEED_1GB_FULL) && link_up) in ixgbe_setup_mac_link_multispeed_fiber()
679 status = ixgbe_check_link(hw, &link_speed, &link_up, FALSE); in ixgbe_setup_mac_link_multispeed_fiber()
723 ixgbe_link_speed link_speed = IXGBE_LINK_SPEED_UNKNOWN; in ixgbe_setup_mac_link_smartspeed() local
[all …]
H A Dixgbe_stat.c56 ixgbe_ks->link_speed.value.ui64 = ixgbe->link_speed; in ixgbe_update_stats()
236 kstat_named_init(&ixgbe_ks->link_speed, "link_speed", in ixgbe_init_stats()
492 *val = ixgbe->link_speed * 1000000ull; in ixgbe_m_stat()
631 switch (ixgbe->link_speed) { in ixgbe_m_stat()
H A Dixgbe_sw.h638 uint32_t link_speed; member
756 kstat_named_t link_speed; /* Link Speed */ member
H A Dixgbe_82598.c404 u32 link_speed = 0; in ixgbe_fc_enable_82598() local
434 hw->mac.ops.check_link(hw, &link_speed, &link_up, FALSE); in ixgbe_fc_enable_82598()
435 if (link_up && link_speed == IXGBE_LINK_SPEED_1GB_FULL) { in ixgbe_fc_enable_82598()
/titanic_41/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_41/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_41/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_41/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_41/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_41/usr/src/uts/common/io/chxge/
H A Doschtoe.h97 uint32_t link_speed; member
/titanic_41/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_41/usr/src/uts/common/io/i40e/core/
H A Di40e_virtchnl.h397 enum i40e_aq_link_speed link_speed; member
/titanic_41/usr/src/uts/common/sys/nxge/
H A Dnxge_mac.h148 uint32_t link_speed; member
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_hba.c963 if (vpd->link_speed & LMT_1GB_CAPABLE) { in emlxs_process_link_speed()
968 if (vpd->link_speed & LMT_2GB_CAPABLE) { in emlxs_process_link_speed()
973 if (vpd->link_speed & LMT_4GB_CAPABLE) { in emlxs_process_link_speed()
978 if (vpd->link_speed & LMT_8GB_CAPABLE) { in emlxs_process_link_speed()
983 if (vpd->link_speed & LMT_10GB_CAPABLE) { in emlxs_process_link_speed()
988 if (vpd->link_speed & LMT_16GB_CAPABLE) { in emlxs_process_link_speed()
H A Demlxs_dfc.c1466 if (vpd->link_speed & LMT_16GB_CAPABLE) { in emlxs_fcio_get_adapter_port_attrs()
1470 if (vpd->link_speed & LMT_10GB_CAPABLE) { in emlxs_fcio_get_adapter_port_attrs()
1474 if (vpd->link_speed & LMT_8GB_CAPABLE) { in emlxs_fcio_get_adapter_port_attrs()
1478 if (vpd->link_speed & LMT_4GB_CAPABLE) { in emlxs_fcio_get_adapter_port_attrs()
1482 if (vpd->link_speed & LMT_2GB_CAPABLE) { in emlxs_fcio_get_adapter_port_attrs()
1486 if (vpd->link_speed & LMT_1GB_CAPABLE) { in emlxs_fcio_get_adapter_port_attrs()
1612 if (vpd->link_speed & LMT_16GB_CAPABLE) { in emlxs_fcio_get_adapter_port_attrs()
1616 if (vpd->link_speed & LMT_10GB_CAPABLE) { in emlxs_fcio_get_adapter_port_attrs()
1620 if (vpd->link_speed & LMT_8GB_CAPABLE) { in emlxs_fcio_get_adapter_port_attrs()
1624 if (vpd->link_speed & LMT_4GB_CAPABLE) { in emlxs_fcio_get_adapter_port_attrs()
[all …]
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_impl.h252 int32_t link_speed; /* Link speed in Mbps */ member
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/vm/
H A Dhw_channel.h462 u16 link_speed; /* Effective line speed */ member

123