Lines Matching +full:lookup +full:- +full:table
1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2010-2014 Intel Corporation
27 struct nhop_object **nh_idx; /**< # -> idx mappings */
48 * NUMA socket ID for LPM table memory allocation
54 * - E_RTE_NO_CONFIG - function could not get pointer to rte_config structure
55 * - E_RTE_SECONDARY - function was called from a secondary process instance
56 * - EINVAL - invalid parameter passed to function
57 * - ENOSPC - the maximum number of memzones has already been allocated
58 * - EEXIST - a memzone with the same name already exists
59 * - ENOMEM - no appropriate memory area found in which to create memzone
73 * - ENOENT - required entry not available to return.
90 * Add a rule to the LPM table.
95 * IP of the rule to be added to the LPM table
97 * Depth of the rule to be added to the LPM table
99 * Next hop of the rule to be added to the LPM table
108 * Check if a rule is present in the LPM table,
127 * Delete a rule from the LPM table.
132 * IP of the rule to be deleted from the LPM table
134 * Depth of the rule to be deleted from the LPM table
143 * Delete a rule from the LPM table.
148 * Array of IPs to be deleted from the LPM table
150 * Array of depths of the rules to be deleted from the LPM table
152 * Number of rules to be deleted from the LPM table
161 * Delete all rules from the LPM table.
170 * Lookup an IP into the LPM table.
175 * IP to be looked up in the LPM table
177 * Next hop of the most specific rule found for IP (valid on lookup hit only)
179 * -EINVAL for incorrect arguments, -ENOENT on lookup miss, 0 on lookup hit
185 * Lookup multiple IP addresses in an LPM table.
190 * Array of IPs to be looked up in the LPM table
192 * Next hop of the most specific rule found for IP (valid on lookup hit only).
194 * each position on success; otherwise the position will be set to -1.
196 * Number of elements in ips (and next_hops) array to lookup.
198 * -EINVAL for incorrect arguments, otherwise 0