Home
last modified time | relevance | path

Searched refs:link_duplex (Results 1 – 25 of 38) sorted by relevance

12

/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpiclkstat.c206 uint64_t collisions, runt, link_up, link_duplex; in kstat_network_port_cond() local
229 link_duplex = port_datap->value.ui32; in kstat_network_port_cond()
231 link_duplex = port_datap->value.ui64; in kstat_network_port_cond()
233 if (link_duplex == 0) { in kstat_network_port_cond()
/titanic_41/usr/src/uts/common/io/aggr/
H A Daggr_port.c343 link_duplex_t link_duplex; in aggr_port_notify_link() local
364 link_duplex = aggr_port_stat(port, ETHER_STAT_LINK_DUPLEX); in aggr_port_notify_link()
365 if (port->lp_link_duplex != link_duplex) { in aggr_port_notify_link()
366 if (link_duplex == LINK_DUPLEX_FULL) in aggr_port_notify_link()
371 port->lp_link_duplex = link_duplex; in aggr_port_notify_link()
/titanic_41/usr/src/lib/libdladm/common/
H A Dlibdlether.c298 link_duplex_t link_duplex; in dladm_ether_info() local
319 KSTAT_DATA_UINT32, &link_duplex)) != DLADM_STATUS_OK) in dladm_ether_info()
323 eattr->lei_attr[CURRENT].le_spdx->lesd_duplex = link_duplex; in dladm_ether_info()
/titanic_41/usr/src/uts/common/io/hxge/
H A Dhxge_vmac.h51 uint32_t link_duplex; member
H A Dhxge_kstats.c753 kstat_named_init(&hxgekp->link_duplex, "link_duplex", KSTAT_DATA_CHAR); in hxge_setup_kstats()
869 if (statsp->mac_stats.link_duplex == 2) in hxge_port_kstat_update()
870 (void) strcpy(hxgekp->link_duplex.value.c, "full"); in hxge_port_kstat_update()
872 (void) strcpy(hxgekp->link_duplex.value.c, "unknown"); in hxge_port_kstat_update()
1044 val = statsp->mac_stats.link_duplex; in hxge_m_stat()
1266 val = statsp->mac_stats.link_duplex; in hxge_m_stat()
H A Dhxge_vmac.c58 statsp->mac_stats.link_duplex = 2; in hxge_link_init()
H A Dhxge.h432 kstat_named_t link_duplex; member
H A Dhxge_hw.c647 hxgep->statsp->mac_stats.link_duplex = 2; in hxge_set_lb()
/titanic_41/usr/src/uts/sun/io/eri/
H A Deri.c1174 erip->stats.link_duplex = LINK_DUPLEX_UNKNOWN; in eri_loopback()
1183 erip->stats.link_duplex = LINK_DUPLEX_UNKNOWN; in eri_loopback()
1196 erip->stats.link_duplex = LINK_DUPLEX_UNKNOWN; in eri_loopback()
1416 *val = esp->link_duplex; in eri_m_stat()
1765 erip->stats.link_duplex = LINK_DUPLEX_UNKNOWN; in eri_stop()
2311 erip->stats.link_duplex = LINK_DUPLEX_UNKNOWN; in eri_init()
2365 erip->stats.link_duplex = LINK_DUPLEX_UNKNOWN; in eri_init()
2375 erip->stats.link_duplex = LINK_DUPLEX_UNKNOWN; in eri_init()
2833 erip->stats.link_duplex = LINK_DUPLEX_UNKNOWN; in eri_intr()
4049 erip->stats.link_duplex = LINK_DUPLEX_UNKNOWN; in eri_process_ndd_ioctl()
[all …]
H A Deri.h165 uint32_t link_duplex; member
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Drstp.c143 link_duplex_t link_duplex; in get_duplex() local
151 KSTAT_DATA_UINT32, &link_duplex); in get_duplex()
153 if (status == DLADM_STATUS_OK && link_duplex == LINK_DUPLEX_FULL) in get_duplex()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge_gld.c824 link_duplex_t link_duplex; in ql_m_getprop() local
837 link_duplex = LINK_DUPLEX_FULL; in ql_m_getprop()
839 link_duplex = LINK_DUPLEX_HALF; in ql_m_getprop()
841 bcopy(&link_duplex, pr_val, in ql_m_getprop()
/titanic_41/usr/src/uts/common/io/nxge/
H A Dnxge_mac.c4017 statsp->mac_stats.link_duplex = 2; /* Full duplex */ in nxge_tn1010_xcvr_init()
4021 statsp->mac_stats.link_duplex = 2; in nxge_tn1010_xcvr_init()
4938 statsp->mac_stats.link_duplex = 0; in nxge_mii_xcvr_init()
5060 statsp->mac_stats.link_duplex = 2; in nxge_mii_xcvr_init()
5062 statsp->mac_stats.link_duplex = 1; in nxge_mii_xcvr_init()
5069 statsp->mac_stats.link_duplex = 2; in nxge_mii_xcvr_init()
5071 statsp->mac_stats.link_duplex = 1; in nxge_mii_xcvr_init()
5078 statsp->mac_stats.link_duplex = 2; in nxge_mii_xcvr_init()
5080 statsp->mac_stats.link_duplex = 1; in nxge_mii_xcvr_init()
5082 if (statsp->mac_stats.link_duplex != 1) { in nxge_mii_xcvr_init()
[all …]
H A Dnxge_kstats.c1379 kstat_named_init(&nxgekp->link_duplex, "link_duplex", in nxge_setup_kstats()
1820 if (statsp->mac_stats.link_duplex == 2) in nxge_port_kstat_update()
1821 (void) strcpy(nxgekp->link_duplex.value.c, "full"); in nxge_port_kstat_update()
1822 else if (statsp->mac_stats.link_duplex == 1) in nxge_port_kstat_update()
1823 (void) strcpy(nxgekp->link_duplex.value.c, "half"); in nxge_port_kstat_update()
1825 (void) strcpy(nxgekp->link_duplex.value.c, "unknown"); in nxge_port_kstat_update()
2342 val = statsp->mac_stats.link_duplex; in nxge_m_stat()
2558 val = statsp->mac_stats.link_duplex; in nxge_m_stat()
/titanic_41/usr/src/uts/common/io/ntxn/
H A Dunm_nic_hw.c2030 adapter->link_duplex = LINK_DUPLEX_FULL; in unm_nic_set_link_parameters()
2048 case 0: adapter->link_duplex = LINK_DUPLEX_HALF; in unm_nic_set_link_parameters()
2050 case 1: adapter->link_duplex = LINK_DUPLEX_FULL; in unm_nic_set_link_parameters()
2053 adapter->link_duplex = defval; in unm_nic_set_link_parameters()
2058 adapter->link_duplex = defval; in unm_nic_set_link_parameters()
2062 adapter->link_duplex = defval; in unm_nic_set_link_parameters()
H A Dunm_nic.h463 uint16_t link_duplex; member
/titanic_41/usr/src/uts/common/sys/nxge/
H A Dnxge_mac.h149 uint32_t link_duplex; member
/titanic_41/usr/src/uts/common/io/bnxe/
H A Dbnxe_gld.c494 *pVal = (pUM->props.link_duplex == B_TRUE) ? in BnxeMacStats()
2610 link_duplex_t link_duplex; in BnxeMacGetProperty() local
2628 link_duplex = pUM->props.link_duplex ? in BnxeMacGetProperty()
2630 bcopy(&link_duplex, pr_val, sizeof(link_duplex_t)); in BnxeMacGetProperty()
H A Dbnxe_mm.c969 pUM->props.link_duplex = B_FALSE; in BnxeLinkStatus()
996 pUM->props.link_duplex = B_FALSE; in BnxeLinkStatus()
1001 pUM->props.link_duplex = B_TRUE; in BnxeLinkStatus()
H A Dbnxe_cfg.c655 pUM->props.link_duplex = B_FALSE; in BnxeCfgReset()
/titanic_41/usr/src/uts/common/io/igb/
H A Digb_gld.c357 *val = (igb->link_duplex == FULL_DUPLEX) ? in igb_m_stat()
1146 bcopy(&igb->link_duplex, pr_val, sizeof (link_duplex_t)); in igb_m_getprop()
H A Digb_sw.h571 uint32_t link_duplex; member
/titanic_41/usr/src/uts/common/io/ixgbe/
H A Dixgbe_gld.c454 bcopy(&ixgbe->link_duplex, pr_val, in ixgbe_m_getprop()
H A Dixgbe_sw.h639 uint32_t link_duplex; member
/titanic_41/usr/src/uts/common/io/e1000g/
H A De1000g_sw.h836 uint32_t link_duplex; member

12