Lines Matching refs:fgrp

6736 mac_rx_move_macaddr(mac_client_impl_t *mcip, mac_group_t *fgrp,  in mac_rx_move_macaddr()  argument
6751 mac_rx_move_macaddr_prim(mcip, fgrp, NULL, maddr, B_FALSE); in mac_rx_move_macaddr()
6759 mac_rx_move_macaddr_prim(mcip, fgrp, fgrp, maddr, in mac_rx_move_macaddr()
6770 if ((err = mac_add_macaddr(mip, fgrp, maddr, prim)) != 0) { in mac_rx_move_macaddr()
6778 (void *)fgrp); in mac_rx_move_macaddr()
6782 mac_rx_move_macaddr_prim(mcip, fgrp, fgrp, maddr, in mac_rx_move_macaddr()
6790 mac_rx_move_macaddr_prim(mcip, fgrp, tgrp, maddr, B_TRUE); in mac_rx_move_macaddr()
6802 mac_rx_switch_group(mac_client_impl_t *mcip, mac_group_t *fgrp, in mac_rx_switch_group() argument
6812 ASSERT(fgrp == mcip->mci_flent->fe_rx_ring_group); in mac_rx_switch_group()
6814 if ((err = mac_rx_move_macaddr(mcip, fgrp, tgrp)) != 0) in mac_rx_switch_group()
6821 if (fgrp->mrg_state == MAC_GROUP_STATE_RESERVED && in mac_rx_switch_group()
6822 MAC_GROUP_ONLY_CLIENT(fgrp) != NULL) { in mac_rx_switch_group()
6825 if (fgrp != MAC_DEFAULT_RX_GROUP(mip)) { in mac_rx_switch_group()
6826 mgcp = fgrp->mrg_clients; in mac_rx_switch_group()
6830 mac_group_remove_client(fgrp, gmcip); in mac_rx_switch_group()
6834 mac_release_rx_group(mcip, fgrp); in mac_rx_switch_group()
6835 ASSERT(MAC_GROUP_NO_CLIENT(fgrp)); in mac_rx_switch_group()
6836 mac_set_group_state(fgrp, MAC_GROUP_STATE_REGISTERED); in mac_rx_switch_group()
6838 mac_group_remove_client(fgrp, mcip); in mac_rx_switch_group()
6850 mgcp = fgrp->mrg_clients; in mac_rx_switch_group()
6855 mac_group_remove_client(fgrp, gmcip); in mac_rx_switch_group()
6867 if (fgrp->mrg_state == MAC_GROUP_STATE_RESERVED) in mac_rx_switch_group()
6868 mac_rx_group_unmark(fgrp, MR_CONDEMNED); in mac_rx_switch_group()
6869 mac_set_group_state(fgrp, MAC_GROUP_STATE_SHARED); in mac_rx_switch_group()
7153 mac_tx_dismantle_soft_rings(mac_group_t *fgrp, flow_entry_t *flent) in mac_tx_dismantle_soft_rings() argument
7170 for (ring = fgrp->mrg_rings; ring != NULL; in mac_tx_dismantle_soft_rings()
7188 mac_tx_switch_group(mac_client_impl_t *mcip, mac_group_t *fgrp, in mac_tx_switch_group() argument
7200 ASSERT(fgrp == flent->fe_tx_ring_group); in mac_tx_switch_group()
7202 if (fgrp == defgrp) { in mac_tx_switch_group()
7207 mac_group_remove_client(fgrp, mcip); in mac_tx_switch_group()
7208 mac_tx_dismantle_soft_rings(fgrp, flent); in mac_tx_switch_group()
7210 mgcp = fgrp->mrg_clients; in mac_tx_switch_group()
7220 mac_group_remove_client(fgrp, gmcip); in mac_tx_switch_group()
7221 mac_tx_dismantle_soft_rings(fgrp, gflent); in mac_tx_switch_group()
7239 if (MAC_GROUP_NO_CLIENT(fgrp)) { in mac_tx_switch_group()
7244 fgrp->mrg_state = MAC_GROUP_STATE_REGISTERED; in mac_tx_switch_group()
7253 ringcnt = fgrp->mrg_cur_count; in mac_tx_switch_group()
7254 ring = fgrp->mrg_rings; in mac_tx_switch_group()
7264 } else if (MAC_GROUP_ONLY_CLIENT(fgrp) != NULL) { in mac_tx_switch_group()
7265 fgrp->mrg_state = MAC_GROUP_STATE_RESERVED; in mac_tx_switch_group()
7267 ASSERT(fgrp->mrg_state == MAC_GROUP_STATE_SHARED); in mac_tx_switch_group()
7274 mgcp = fgrp->mrg_clients; in mac_tx_switch_group()
7283 mac_group_remove_client(fgrp, gmcip); in mac_tx_switch_group()
7284 mac_tx_dismantle_soft_rings(fgrp, gflent); in mac_tx_switch_group()
7298 mac_group_remove_client(fgrp, mcip); in mac_tx_switch_group()
7299 mac_release_tx_group(mcip, fgrp); in mac_tx_switch_group()
7300 fgrp->mrg_state = MAC_GROUP_STATE_REGISTERED; in mac_tx_switch_group()