Home
last modified time | relevance | path

Searched refs:mac_stats (Results 1 – 19 of 19) sorted by relevance

/titanic_50/usr/src/uts/common/io/nxge/
H A Dnxge_mac.c289 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 …]
H A Dnxge_kstats.c1721 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 …]
H A Dnxge_hw.c334 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 …]
H A Dnxge_espc.c152 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()
H A Dnxge_virtual.c3909 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()
H A Dnxge_send.c216 if (!statsp->mac_stats.link_up) { in nxge_start()
237 if (!statsp->mac_stats.link_up) { in nxge_start()
H A Dnxge_main.c749 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()
/titanic_50/usr/src/uts/common/io/hxge/
H A Dhxge_vmac.c51 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()
H A Dhxge_kstats.c853 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 …]
H A Dhxge_hw.c639 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()
H A Dhxge_main.c3270 *(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()
H A Dhxge.h193 hxge_mac_stats_t mac_stats; member
H A Dhxge_send.c158 if (!statsp->mac_stats.link_up) { in hxge_start()
/titanic_50/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/
H A Dmac_stx.h56 typedef union mac_stats mac_stats_t;
H A Dmac_stats.h404 union mac_stats { union
/titanic_50/usr/src/uts/common/sys/nxge/
H A Dnxge_mac.h246 nxge_mac_stats_t *mac_stats; member
H A Dnxge.h459 nxge_mac_stats_t mac_stats; /* Common MAC Statistics */ member
/titanic_50/exception_lists/
H A Dhdrchk340 usr/src/uts/common/io/bnxe/577xx/hsi/mcp/mac_stats.h
H A Dcstyle997 usr/src/uts/common/io/bnxe/577xx/hsi/mcp/mac_stats.h