Home
last modified time | relevance | path

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

/illumos-gate/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.c335 phy_port_addr = nxgep->statsp->mac_stats.xcvr_portn; in nxge_check_xaui_xfp()
692 if (nxgep->statsp->mac_stats.cap_10gfdx) { in nxge_loopback_ioctl()
717 if (nxgep->statsp->mac_stats.cap_1000fdx) { in nxge_loopback_ioctl()
730 if (nxgep->statsp->mac_stats.cap_100fdx) in nxge_loopback_ioctl()
732 if (nxgep->statsp->mac_stats.cap_10fdx) in nxge_loopback_ioctl()
752 if (nxgep->statsp->mac_stats.cap_10gfdx) { in nxge_loopback_ioctl()
771 if (nxgep->statsp->mac_stats.cap_1000fdx) { in nxge_loopback_ioctl()
784 if (nxgep->statsp->mac_stats.cap_100fdx) in nxge_loopback_ioctl()
787 if (nxgep->statsp->mac_stats.cap_10fdx) in nxge_loopback_ioctl()
802 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.c3906 nxgep->statsp->mac_stats.xcvr_inuse = INT_MII_XCVR; in nxge_get_xcvr_properties()
3911 nxgep->statsp->mac_stats.xcvr_inuse = PCS_XCVR; in nxge_get_xcvr_properties()
3913 nxgep->statsp->mac_stats.xcvr_inuse = INT_MII_XCVR; in nxge_get_xcvr_properties()
3920 nxgep->statsp->mac_stats.xcvr_inuse = PCS_XCVR; in nxge_get_xcvr_properties()
3922 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.c742 nxgep->statsp->mac_stats.xcvr_inuse = LOGICAL_XCVR; in nxge_attach()
4690 *(uint8_t *)pr_val = statsp->mac_stats.link_duplex; in nxge_m_getprop()
4694 uint64_t val = statsp->mac_stats.link_speed * 1000000ull; in nxge_m_getprop()
4702 link_state_t state = statsp->mac_stats.link_up ? in nxge_m_getprop()
/illumos-gate/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.c3265 *(uint8_t *)pr_val = statsp->mac_stats.link_duplex; in hxge_m_getprop()
3273 tmp = statsp->mac_stats.link_speed * 1000000ull; in hxge_m_getprop()
3279 if (!statsp->mac_stats.link_up) in hxge_m_getprop()
4447 statsp->mac_stats.link_speed = 10000; in hxge_link_update()
4448 statsp->mac_stats.link_duplex = 2; in hxge_link_update()
4449 statsp->mac_stats.link_up = 1; in hxge_link_update()
4451 statsp->mac_stats.link_speed = 0; in hxge_link_update()
4452 statsp->mac_stats.link_duplex = 0; in hxge_link_update()
4453 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()
/illumos-gate/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
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_mac.h244 nxge_mac_stats_t *mac_stats; member
H A Dnxge.h459 nxge_mac_stats_t mac_stats; /* Common MAC Statistics */ member
/illumos-gate/exception_lists/
H A Dhdrchk327 usr/src/uts/common/io/bnxe/577xx/hsi/mcp/mac_stats.h