Lines Matching defs:group

1686  * if the client was given a non-default group we remove all rings except
1687 * for 1 and give it back to the default group.
1698 mac_group_t *group;
1709 group = flent->fe_rx_ring_group;
1715 * which there was no rx rings property. For dynamic group
1717 * For static group if we are requesting a group again.
1740 * all the rings in the default group except the
1741 * default ring. If it is a static group, then
1745 if (group != defgrp) {
1749 * This group has reserved rings
1751 * so does the group.
1754 group->mrg_cur_count);
1762 mcip, group,
1767 group->
1776 group, defgrp);
1779 * If this is a static group, we
1780 * need to release the group. The
1782 * group till some other client
1783 * needs this group.
1787 /* Let check if we can give this an excl group */
1788 } else if (group == defgrp) {
1791 /* Couldn't give it a group, that's fine */
1802 * If the client is in the default group, we will
1804 * it rather than look for an exclusive group
1810 if (group == defgrp && ((mrp->mrp_nrxrings > 0) || unspec)) {
1823 } else if (group != defgrp && !unspec &&
1826 ringcnt = group->mrg_cur_count;
1827 if (mac_rx_switch_group(mcip, group, defgrp) != 0)
1836 } else if (group != defgrp && mip->mi_rx_group_type ==
1838 ringcnt = group->mrg_cur_count;
1839 err = mac_group_ring_modify(mcip, group, defgrp);
1843 * Update the accounting. If this group
1846 * the new ring count. If this group
1849 * and reserve the group.
1852 if (ringcnt > group->mrg_cur_count) {
1854 ringcnt - group->mrg_cur_count);
1857 group->mrg_cur_count - ringcnt);
1860 MAC_RX_RING_RESERVED(mip, group->mrg_cur_count);
1867 group = flent->fe_tx_ring_group;
1896 if (group != defgrp) {
1899 ringcnt = group->mrg_cur_count;
1906 group, defgrp);
1917 group, defgrp);
1919 * This group has reserved rings
1925 * If this is a static group, we
1926 * need to release the group. The
1928 * group till some other client
1929 * needs this group.
1932 } else if (group == defgrp &&
1944 * If the client is in the default group, we will
1946 * it rather than look for an exclusive group
1953 if (group == defgrp && ((mrp->mrp_ntxrings > 0) || unspec)) {
1964 } else if (group != defgrp && !unspec &&
1967 ringcnt = group->mrg_cur_count;
1969 mac_tx_switch_group(mcip, group, defgrp);
1978 } else if (group != defgrp && mip->mi_tx_group_type ==
1980 ringcnt = group->mrg_cur_count;
1981 err = mac_group_ring_modify(mcip, group, defgrp);
1985 * Update the accounting. If this group
1988 * the new ring count. If this group
1991 * and reserve the group.
1994 if (ringcnt > group->mrg_cur_count) {
1996 ringcnt - group->mrg_cur_count);
1999 group->mrg_cur_count - ringcnt);
2002 MAC_TX_RING_RESERVED(mip, group->mrg_cur_count);
2285 /* add the MAC client to the broadcast address group by default */
2317 * This will allocate the RX ring group if possible for the
2363 /* update the multicast group for this vid */
4507 * all the other VLANs should be in the same group.
5153 /* Error if the group is dynamic .. */
5162 * OR group is static and we have specified some rings.
5303 * Return the RX h/w information for the group indexed by grp_num.
5315 /* Revisit when we implement fully dynamic group allocation */
5328 /* Assuming the 1st is the default group */
5366 * Return the TX h/w information for the group indexed by grp_num.
5378 /* Revisit when we implement fully dynamic group allocation */
5393 /* Default group has an index of -1 */
5430 * Return the group count for RX or TX.
5438 * Return the Rx and Tx group count; for the Tx we need to