Lines Matching defs:ring

259 		 * memory gets allocated for Rx ring structures even
609 * interrupt context. The ring generation number provided by the driver
610 * is matched with the ring generation number held in MAC. If they do not
612 * assignment of the ring. Drop them.
719 * We check if an SRS is controlling this ring.
779 * A driver's notification to resume transmission on the specified TX ring.
991 mac_ring_intr_retarget(mac_group_t *group, mac_ring_t *ring)
1000 (!ring->mr_info.mri_intr.mi_ddi_shared)) {
1004 if (ring->mr_type == MAC_RING_TYPE_RX) {
1007 if (mac_rx_srs->srs_ring != ring)
1029 * their clients. There is a 1-1 mapping pseudo ring and the hardware
1030 * ring. ddi interrupt handles are exported from the hardware ring to
1031 * the pseudo ring. Thus when the interrupt handle changes, clients of
1036 mac_pseudo_ring_intr_retarget(mac_impl_t *mip, mac_ring_t *ring,
1047 pring = (mac_ring_t *)ring->mr_prh;
1050 saved_gen_num = ring->mr_gen_num;
1071 * Check if the ring got assigned to another aggregation before
1072 * be could enter aggr's and the port's perimeter. When a ring
1077 if (ring->mr_gen_num != saved_gen_num && ring->mr_prh != NULL) {
1084 /* Check if pseudo ring is still present */
1085 if (ring->mr_prh != NULL) {
1088 ring->mr_info.mri_intr.mi_ddi_shared;
1104 mac_ring_t *ring = (mac_ring_t *)mrh;
1105 mac_group_t *group = (mac_group_t *)ring->mr_gh;
1109 ring->mr_info.mri_intr.mi_ddi_handle = ddh;
1112 ring->mr_info.mri_intr.mi_ddi_shared = B_FALSE;
1113 if (ring->mr_prh != NULL) {
1114 mac_pseudo_ring_intr_retarget(mip, ring, ddh);
1120 mip->mi_rx_group_count, ring);
1121 if (!ring->mr_info.mri_intr.mi_ddi_shared) {
1123 mip->mi_tx_group_count, ring);
1125 if (ring->mr_prh != NULL) {
1126 mac_pseudo_ring_intr_retarget(mip, ring, ddh);
1129 mac_ring_intr_retarget(group, ring);
1306 * Entry point invoked by drivers to dynamically add a ring to an
1323 * Entry point invoked by drivers to dynamically remove a ring
1324 * from an existing group. The specified ring handle must no longer