Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac.c6539 mac_reserve_tx_ring(mac_impl_t *mip, mac_ring_t *desired_ring) in mac_reserve_tx_ring() argument
6556 ASSERT(desired_ring != (mac_ring_t *)mip->mi_default_tx_ring); in mac_reserve_tx_ring()
6558 if (desired_ring->mr_state == MR_FREE) { in mac_reserve_tx_ring()
6560 if (mac_start_ring(desired_ring) != 0) in mac_reserve_tx_ring()
6562 return (desired_ring); in mac_reserve_tx_ring()
6572 ASSERT(mac_tx_srs_ring_present(srs, desired_ring)); in mac_reserve_tx_ring()
6575 desired_ring)); in mac_reserve_tx_ring()
6576 mac_tx_srs_del_ring(srs, desired_ring); in mac_reserve_tx_ring()
6579 return (desired_ring); in mac_reserve_tx_ring()