Searched refs:mac_stats (Results 1 – 19 of 19) sorted by relevance
289 nxgep->statsp->mac_stats.link_up) { in nxge_get_xcvr_type()290 nxgep->statsp->mac_stats.xcvr_inuse = XPCS_XCVR; in nxge_get_xcvr_type()301 nxgep->statsp->mac_stats.xcvr_inuse = HSP_XCVR; in nxge_get_xcvr_type()307 nxgep->statsp->mac_stats.xcvr_inuse = HSP_XCVR; in nxge_get_xcvr_type()313 nxgep->statsp->mac_stats.xcvr_inuse = HSP_XCVR; in nxge_get_xcvr_type()337 nxgep->statsp->mac_stats.xcvr_inuse = XPCS_XCVR; in nxge_get_xcvr_type()344 nxgep->statsp->mac_stats.xcvr_inuse = XPCS_XCVR; in nxge_get_xcvr_type()360 nxgep->statsp->mac_stats.xcvr_inuse = XPCS_XCVR; in nxge_get_xcvr_type()365 nxgep->statsp->mac_stats.xcvr_inuse = PCS_XCVR; in nxge_get_xcvr_type()369 nxgep->statsp->mac_stats.xcvr_inuse = INT_MII_XCVR; in nxge_get_xcvr_type()[all …]
1721 statsp->mac_stats.xcvr_inits = nxgekp->xcvr_inits.value.ul; in nxge_port_kstat_update()1763 statsp->mac_stats.link_speed * 1000000ULL; in nxge_port_kstat_update()1764 nxgekp->rev_id.value.ul = statsp->mac_stats.rev_id; in nxge_port_kstat_update()1769 nxgekp->xcvr_inits.value.ul = statsp->mac_stats.xcvr_inits; in nxge_port_kstat_update()1770 nxgekp->xcvr_inuse.value.ul = statsp->mac_stats.xcvr_inuse; in nxge_port_kstat_update()1771 nxgekp->xcvr_addr.value.ul = statsp->mac_stats.xcvr_portn; in nxge_port_kstat_update()1772 nxgekp->xcvr_id.value.ul = statsp->mac_stats.xcvr_id; in nxge_port_kstat_update()1773 nxgekp->cap_autoneg.value.ul = statsp->mac_stats.cap_autoneg; in nxge_port_kstat_update()1774 nxgekp->cap_10gfdx.value.ul = statsp->mac_stats.cap_10gfdx; in nxge_port_kstat_update()1775 nxgekp->cap_10ghdx.value.ul = statsp->mac_stats.cap_10ghdx; in nxge_port_kstat_update()[all …]
334 phy_port_addr = nxgep->statsp->mac_stats.xcvr_portn; in nxge_check_xaui_xfp()691 if (nxgep->statsp->mac_stats.cap_10gfdx) { in nxge_loopback_ioctl()716 if (nxgep->statsp->mac_stats.cap_1000fdx) { in nxge_loopback_ioctl()729 if (nxgep->statsp->mac_stats.cap_100fdx) in nxge_loopback_ioctl()731 if (nxgep->statsp->mac_stats.cap_10fdx) in nxge_loopback_ioctl()751 if (nxgep->statsp->mac_stats.cap_10gfdx) { in nxge_loopback_ioctl()770 if (nxgep->statsp->mac_stats.cap_1000fdx) { in nxge_loopback_ioctl()783 if (nxgep->statsp->mac_stats.cap_100fdx) in nxge_loopback_ioctl()786 if (nxgep->statsp->mac_stats.cap_10fdx) in nxge_loopback_ioctl()801 if (nxgep->statsp->mac_stats.cap_10gfdx) { in nxge_loopback_ioctl()[all …]
152 nxgep->statsp->mac_stats.xcvr_inuse = XPCS_XCVR; in nxge_espc_phy_type_get()156 nxgep->statsp->mac_stats.xcvr_inuse = XPCS_XCVR; in nxge_espc_phy_type_get()160 nxgep->statsp->mac_stats.xcvr_inuse = PCS_XCVR; in nxge_espc_phy_type_get()164 nxgep->statsp->mac_stats.xcvr_inuse = INT_MII_XCVR; in nxge_espc_phy_type_get()
3909 nxgep->statsp->mac_stats.xcvr_inuse = INT_MII_XCVR; in nxge_get_xcvr_properties()3914 nxgep->statsp->mac_stats.xcvr_inuse = PCS_XCVR; in nxge_get_xcvr_properties()3916 nxgep->statsp->mac_stats.xcvr_inuse = INT_MII_XCVR; in nxge_get_xcvr_properties()3923 nxgep->statsp->mac_stats.xcvr_inuse = PCS_XCVR; in nxge_get_xcvr_properties()3925 nxgep->statsp->mac_stats.xcvr_inuse = INT_MII_XCVR; in nxge_get_xcvr_properties()
216 if (!statsp->mac_stats.link_up) { in nxge_start()237 if (!statsp->mac_stats.link_up) { in nxge_start()
749 nxgep->statsp->mac_stats.xcvr_inuse = LOGICAL_XCVR; in nxge_attach()4709 *(uint8_t *)pr_val = statsp->mac_stats.link_duplex; in nxge_m_getprop()4713 uint64_t val = statsp->mac_stats.link_speed * 1000000ull; in nxge_m_getprop()4721 link_state_t state = statsp->mac_stats.link_up ? in nxge_m_getprop()
51 statsp->mac_stats.cap_10gfdx = 1; in hxge_link_init()52 statsp->mac_stats.lp_cap_10gfdx = 1; in hxge_link_init()58 statsp->mac_stats.link_duplex = 2; in hxge_link_init()59 statsp->mac_stats.link_speed = 10000; in hxge_link_init()354 hxgep->statsp->mac_stats.promisc = B_TRUE; in hxge_set_promisc()356 hxgep->statsp->mac_stats.promisc = B_FALSE; in hxge_set_promisc()
853 hxgekp->ifspeed.value.ul = statsp->mac_stats.link_speed * 1000000ULL; in hxge_port_kstat_update()858 hxgekp->cap_10gfdx.value.ul = statsp->mac_stats.cap_10gfdx; in hxge_port_kstat_update()863 hxgekp->lp_cap_10gfdx.value.ul = statsp->mac_stats.lp_cap_10gfdx; in hxge_port_kstat_update()868 hxgekp->link_speed.value.ul = statsp->mac_stats.link_speed; in hxge_port_kstat_update()869 if (statsp->mac_stats.link_duplex == 2) in hxge_port_kstat_update()873 hxgekp->link_up.value.ul = statsp->mac_stats.link_up; in hxge_port_kstat_update()962 val = statsp->mac_stats.link_speed * 1000000ull; in hxge_m_stat()1044 val = statsp->mac_stats.link_duplex; in hxge_m_stat()1047 val = statsp->mac_stats.link_up; in hxge_m_stat()1050 val = statsp->mac_stats.promisc; in hxge_m_stat()[all …]
639 hxgep->statsp->mac_stats.link_speed = 10000; in hxge_set_lb()647 hxgep->statsp->mac_stats.link_duplex = 2; in hxge_set_lb()648 hxgep->statsp->mac_stats.link_up = 1; in hxge_set_lb()
3270 *(uint8_t *)pr_val = statsp->mac_stats.link_duplex; in hxge_m_getprop()3278 tmp = statsp->mac_stats.link_speed * 1000000ull; in hxge_m_getprop()3284 if (!statsp->mac_stats.link_up) in hxge_m_getprop()4452 statsp->mac_stats.link_speed = 10000; in hxge_link_update()4453 statsp->mac_stats.link_duplex = 2; in hxge_link_update()4454 statsp->mac_stats.link_up = 1; in hxge_link_update()4456 statsp->mac_stats.link_speed = 0; in hxge_link_update()4457 statsp->mac_stats.link_duplex = 0; in hxge_link_update()4458 statsp->mac_stats.link_up = 0; in hxge_link_update()
193 hxge_mac_stats_t mac_stats; member
158 if (!statsp->mac_stats.link_up) { in hxge_start()
56 typedef union mac_stats mac_stats_t;
404 union mac_stats { union
246 nxge_mac_stats_t *mac_stats; member
459 nxge_mac_stats_t mac_stats; /* Common MAC Statistics */ member
340 usr/src/uts/common/io/bnxe/577xx/hsi/mcp/mac_stats.h
997 usr/src/uts/common/io/bnxe/577xx/hsi/mcp/mac_stats.h