Lines Matching refs:fgrp
7352 mac_rx_move_macaddr(mac_client_impl_t *mcip, mac_group_t *fgrp, in mac_rx_move_macaddr() argument
7414 err2 = mac_add_macaddr_vlan(mip, fgrp, maddr, vid, use_hw); in mac_rx_move_macaddr()
7448 mac_rx_switch_group(mac_client_impl_t *mcip, mac_group_t *fgrp, in mac_rx_switch_group() argument
7458 VERIFY3P(fgrp, ==, mcip->mci_flent->fe_rx_ring_group); in mac_rx_switch_group()
7460 if ((err = mac_rx_move_macaddr(mcip, fgrp, tgrp)) != 0) in mac_rx_switch_group()
7467 if (fgrp->mrg_state == MAC_GROUP_STATE_RESERVED && in mac_rx_switch_group()
7468 MAC_GROUP_ONLY_CLIENT(fgrp) != NULL) { in mac_rx_switch_group()
7486 if (fgrp != MAC_DEFAULT_RX_GROUP(mip)) { in mac_rx_switch_group()
7487 mgcp = fgrp->mrg_clients; in mac_rx_switch_group()
7491 mac_group_remove_client(fgrp, gmcip); in mac_rx_switch_group()
7495 mac_release_rx_group(mcip, fgrp); in mac_rx_switch_group()
7496 VERIFY3B(MAC_GROUP_NO_CLIENT(fgrp), ==, B_TRUE); in mac_rx_switch_group()
7497 mac_set_group_state(fgrp, MAC_GROUP_STATE_REGISTERED); in mac_rx_switch_group()
7499 mac_group_remove_client(fgrp, mcip); in mac_rx_switch_group()
7512 mgcp = fgrp->mrg_clients; in mac_rx_switch_group()
7517 mac_group_remove_client(fgrp, gmcip); in mac_rx_switch_group()
7530 if (fgrp->mrg_state == MAC_GROUP_STATE_RESERVED) in mac_rx_switch_group()
7531 mac_rx_group_unmark(fgrp, MR_CONDEMNED); in mac_rx_switch_group()
7532 mac_set_group_state(fgrp, MAC_GROUP_STATE_SHARED); in mac_rx_switch_group()
7821 mac_tx_dismantle_soft_rings(mac_group_t *fgrp, flow_entry_t *flent) in mac_tx_dismantle_soft_rings() argument
7838 for (ring = fgrp->mrg_rings; ring != NULL; in mac_tx_dismantle_soft_rings()
7856 mac_tx_switch_group(mac_client_impl_t *mcip, mac_group_t *fgrp, in mac_tx_switch_group() argument
7868 ASSERT(fgrp == flent->fe_tx_ring_group); in mac_tx_switch_group()
7870 if (fgrp == defgrp) { in mac_tx_switch_group()
7875 mac_group_remove_client(fgrp, mcip); in mac_tx_switch_group()
7876 mac_tx_dismantle_soft_rings(fgrp, flent); in mac_tx_switch_group()
7878 mgcp = fgrp->mrg_clients; in mac_tx_switch_group()
7888 mac_group_remove_client(fgrp, gmcip); in mac_tx_switch_group()
7889 mac_tx_dismantle_soft_rings(fgrp, gflent); in mac_tx_switch_group()
7907 if (MAC_GROUP_NO_CLIENT(fgrp)) { in mac_tx_switch_group()
7912 fgrp->mrg_state = MAC_GROUP_STATE_REGISTERED; in mac_tx_switch_group()
7921 ringcnt = fgrp->mrg_cur_count; in mac_tx_switch_group()
7922 ring = fgrp->mrg_rings; in mac_tx_switch_group()
7932 } else if (MAC_GROUP_ONLY_CLIENT(fgrp) != NULL) { in mac_tx_switch_group()
7933 fgrp->mrg_state = MAC_GROUP_STATE_RESERVED; in mac_tx_switch_group()
7935 ASSERT(fgrp->mrg_state == MAC_GROUP_STATE_SHARED); in mac_tx_switch_group()
7942 mgcp = fgrp->mrg_clients; in mac_tx_switch_group()
7951 mac_group_remove_client(fgrp, gmcip); in mac_tx_switch_group()
7952 mac_tx_dismantle_soft_rings(fgrp, gflent); in mac_tx_switch_group()
7966 mac_group_remove_client(fgrp, mcip); in mac_tx_switch_group()
7967 mac_release_tx_group(mcip, fgrp); in mac_tx_switch_group()
7968 fgrp->mrg_state = MAC_GROUP_STATE_REGISTERED; in mac_tx_switch_group()