Searched refs:sringp (Results 1 – 4 of 4) sorted by relevance
4007 mac_soft_ring_t *sringp; in mac_tx_aggr_mode() local4013 sringp = srs_tx->st_soft_rings[((mac_ring_t *)ring)->mr_index]; in mac_tx_aggr_mode()4014 return (mac_tx_soft_ring_process(sringp, mp_chain, flag, ret_mp)); in mac_tx_aggr_mode()4535 mac_soft_ring_t *sringp; in mac_tx_srs_wakeup() local4566 sringp = mac_srs->srs_tx_soft_rings[i]; in mac_tx_srs_wakeup()4567 mutex_enter(&sringp->s_ring_lock); in mac_tx_srs_wakeup()4568 if (sringp->s_ring_tx_arg2 == ring) { in mac_tx_srs_wakeup()4569 if (sringp->s_ring_state & S_RING_BLOCK) { in mac_tx_srs_wakeup()4570 sringp->s_ring_state &= ~S_RING_BLOCK; in mac_tx_srs_wakeup()4571 sringp->s_st_stat.mts_unblockcnt++; in mac_tx_srs_wakeup()[all …]
3728 mac_soft_ring_t *sringp; in mac_tx_is_flow_blocked() local3762 sringp = (mac_soft_ring_t *)cookie; in mac_tx_is_flow_blocked()3763 mutex_enter(&sringp->s_ring_lock); in mac_tx_is_flow_blocked()3764 if (sringp->s_ring_state & S_RING_TX_HIWAT) in mac_tx_is_flow_blocked()3766 mutex_exit(&sringp->s_ring_lock); in mac_tx_is_flow_blocked()3769 sringp = mac_srs->srs_tx_soft_rings[i]; in mac_tx_is_flow_blocked()3770 mutex_enter(&sringp->s_ring_lock); in mac_tx_is_flow_blocked()3771 if (sringp->s_ring_state & S_RING_TX_HIWAT) { in mac_tx_is_flow_blocked()3773 mutex_exit(&sringp->s_ring_lock); in mac_tx_is_flow_blocked()3776 mutex_exit(&sringp->s_ring_lock); in mac_tx_is_flow_blocked()
725 mac_soft_ring_t *sringp; in mac_tx_cpu_init() local751 sringp = tx_srs->srs_tx_soft_rings[i]; in mac_tx_cpu_init()752 ring = (mac_ring_t *)sringp->s_ring_tx_arg2; in mac_tx_cpu_init()1335 mac_soft_ring_t *sringp; in mac_tx_srs_retarget_intr() local1346 sringp = mac_srs->srs_tx_soft_rings[i]; in mac_tx_srs_retarget_intr()1347 ring = (mac_ring_t *)sringp->s_ring_tx_arg2; in mac_tx_srs_retarget_intr()
5161 mac_soft_ring_t *sringp; in i_mac_group_rem_ring() local5188 sringp = srs_tx->st_soft_rings[ring->mr_index]; in i_mac_group_rem_ring()5189 ASSERT(sringp != NULL); in i_mac_group_rem_ring()5190 mac_tx_invoke_callbacks(mcip, (mac_tx_cookie_t)sringp); in i_mac_group_rem_ring()