Lines Matching refs:registry

1522 	/* Check the registry */
1525 ECORE_MSG(sc, "ADD command is not allowed considering current registry state.\n");
1576 ECORE_MSG(sc, "DEL command is not allowed considering current registry state\n");
1631 /* Check if we can perform this operation based on the current registry
1636 ECORE_MSG(sc, "MOVE command is not allowed considering current registry state\n");
1891 * ecore_vlan_mac_get_registry_elem - prepare a registry element
1899 * prepare a registry element according to the current command request.
1911 /* Allocate a new registry element if needed. */
1968 /* If DRIVER_ONLY execution is requested, cleanup a registry
1997 /* Push a new entry into the registry */
2028 /* Now, when we are done with the ramrod - clean up the registry */
2053 /* Cleanup a registry in case of a failure */
2948 if (o->registry.aprox_match.vec[i])
2951 if (BIT_VEC64_TEST_BIT(o->registry.aprox_match.
2975 BIT_VEC64_CLEAR_BIT(o->registry.aprox_match.vec, cur_bit);
3017 BIT_VEC64_SET_BIT(o->registry.aprox_match.vec, bin);
3049 * ecore_mcast_handle_restore_cmd_e2 - restore configuration from the registry
3053 * @start_bin: index in the registry to start from (including)
3065 /* go through the registry and configure the bins from it */
3320 * registry would be less than we estimated here. See
3329 * However we will correct the real registry size after we
3383 * Recalculate the actual number of set bins in the registry using Brian
3395 elem = o->registry.aprox_match.vec[i];
3444 /* Update a registry size if there are no more pending operations.
3446 * We don't want to change the value of the registry size if there are
3452 * Note that we update the registry itself during command(s) handling
3530 BIT_VEC64_SET_BIT(o->registry.aprox_match.vec,
3561 /* If CLEAR_ONLY has been requested - clear the registry
3579 /* clear the registry */
3580 ECORE_MEMSET(o->registry.aprox_match.vec, 0,
3581 sizeof(o->registry.aprox_match.vec));
3597 /* clear the registry */
3598 ECORE_MEMSET(o->registry.aprox_match.vec, 0,
3599 sizeof(o->registry.aprox_match.vec));
3737 * @start_idx: index in the registry to start from
3753 /* go through the registry and configure the MACs from it. */
3754 ECORE_LIST_FOR_EACH_ENTRY(elem, &o->registry.exact_match.macs, link,
3847 * and update the registry correspondingly: if ADD - allocate a memory and add
3848 * the entries to the registry (list), if DELETE - clear the registry and free
3867 if (!ECORE_LIST_IS_EMPTY(&o->registry.exact_match.macs))
3872 ECORE_ERR("Failed to allocate registry memory\n");
3882 ECORE_MSG(sc, "Adding registry entry for [%02x:%02x:%02x:%02x:%02x:%02x]\n",
3885 &o->registry.exact_match.macs);
3888 elem = ECORE_LIST_FIRST_ENTRY(&o->registry.exact_match.macs,
3891 ECORE_MSG(sc, "Deleting a registry\n");
3893 ECORE_LIST_INIT(&o->registry.exact_match.macs);
3941 /* update a registry: we need the registry contents to be always up
3944 * hence we may take the registry update out of the command handling
3981 return o->registry.exact_match.num_macs_set;
3986 return o->registry.aprox_match.num_bins_set;
3992 o->registry.exact_match.num_macs_set = n;
3998 o->registry.aprox_match.num_bins_set = n;
4135 ECORE_LIST_INIT(&mcast_obj->registry.exact_match.macs);