Home
last modified time | relevance | path

Searched refs:sringp (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_sched.c4007 mac_soft_ring_t *sringp; in mac_tx_aggr_mode() local
4013 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() local
4566 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 …]
H A Dmac_client.c3728 mac_soft_ring_t *sringp; in mac_tx_is_flow_blocked() local
3762 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()
H A Dmac_datapath_setup.c725 mac_soft_ring_t *sringp; in mac_tx_cpu_init() local
751 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() local
1346 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()
H A Dmac.c5161 mac_soft_ring_t *sringp; in i_mac_group_rem_ring() local
5188 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()