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.c3869 statsp->mac_stats.cap_100fdx = in nxge_1G_xcvr_init()
3871 statsp->mac_stats.cap_10fdx = in nxge_1G_xcvr_init()
3973 statsp->mac_stats.adv_cap_10fdx in nxge_tn1010_xcvr_init()
3983 statsp->mac_stats.adv_cap_100T4 in nxge_tn1010_xcvr_init()
4012 statsp->mac_stats.link_T4 = 0; in nxge_tn1010_xcvr_init()
4125 statsp->mac_stats.link_T4 = 0; in nxge_xcvr_init()
4918 statsp->mac_stats.link_T4 = 0; in nxge_mii_xcvr_init()
4923 statsp->mac_stats.link_up = 0; in nxge_mii_xcvr_init()
5238 statsp->mac_stats.link_T4 = 0; in nxge_mii_xcvr_fiber_init()
5243 statsp->mac_stats.link_up = 0; in nxge_mii_xcvr_fiber_init()
[all …]
H A Dnxge_kstats.c1784 statsp->mac_stats.cap_asmpause; in nxge_port_kstat_update()
1801 statsp->mac_stats.lp_cap_100T4; in nxge_port_kstat_update()
1807 statsp->mac_stats.lp_cap_10fdx; in nxge_port_kstat_update()
1809 statsp->mac_stats.lp_cap_10hdx; in nxge_port_kstat_update()
1813 statsp->mac_stats.lp_cap_pause; in nxge_port_kstat_update()
2345 val = statsp->mac_stats.link_up; in nxge_m_stat()
2348 val = statsp->mac_stats.promisc; in nxge_m_stat()
2429 val = statsp->mac_stats.xcvr_id; in nxge_m_stat()
2453 val = statsp->mac_stats.cap_10fdx; in nxge_m_stat()
2457 val = statsp->mac_stats.cap_10hdx; in nxge_m_stat()
[all …]
H A Dnxge_hw.c730 if (nxgep->statsp->mac_stats.cap_100fdx) in nxge_loopback_ioctl()
732 if (nxgep->statsp->mac_stats.cap_10fdx) 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()
840 if (nxgep->statsp->mac_stats.cap_10fdx) in nxge_loopback_ioctl()
850 if (nxgep->statsp->mac_stats. in nxge_loopback_ioctl()
977 (nxgep->statsp->mac_stats.cap_10gfdx)) in nxge_set_lb()
983 (nxgep->statsp->mac_stats.cap_100fdx)) in nxge_set_lb()
986 (nxgep->statsp->mac_stats.cap_10fdx)) in nxge_set_lb()
1105 nxgep->statsp->mac_stats.link_duplex = 2; in nxge_set_lb()
[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()
4689 *(uint8_t *)pr_val = statsp->mac_stats.link_duplex; in nxge_m_getprop()
4693 uint64_t val = statsp->mac_stats.link_speed * 1000000ull; in nxge_m_getprop()
4701 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