Lines Matching full:lpm

19 /** Max number of characters in LPM name. */
22 /** LPM structure. */
32 /** LPM configuration structure. */
43 * Create an LPM object.
46 * LPM object name
48 * NUMA socket ID for LPM table memory allocation
52 * Handle to LPM object on success, NULL otherwise with rte_errno set
66 * Find an existing LPM object and return a pointer to it.
69 * Name of the lpm object as passed to rte_lpm6_create()
71 * Pointer to lpm object or NULL if object not found with rte_errno
79 * Free an LPM object.
81 * @param lpm
82 * LPM object handle
87 rte_lpm6_free(struct rte_lpm6 *lpm);
90 * Add a rule to the LPM table.
92 * @param lpm
93 * LPM object handle
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
104 rte_lpm6_add(struct rte_lpm6 *lpm, const uint8_t *ip, uint8_t depth,
108 * Check if a rule is present in the LPM table,
111 * @param lpm
112 * LPM object handle
123 rte_lpm6_is_rule_present(struct rte_lpm6 *lpm, const uint8_t *ip, uint8_t depth,
127 * Delete a rule from the LPM table.
129 * @param lpm
130 * LPM object handle
132 * IP of the rule to be deleted from the LPM table
134 * Depth of the rule to be deleted from the LPM table
139 rte_lpm6_delete(struct rte_lpm6 *lpm, const uint8_t *ip, uint8_t depth,
143 * Delete a rule from the LPM table.
145 * @param lpm
146 * LPM object handle
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
157 rte_lpm6_delete_bulk_func(struct rte_lpm6 *lpm,
161 * Delete all rules from the LPM table.
163 * @param lpm
164 * LPM object handle
167 rte_lpm6_delete_all(struct rte_lpm6 *lpm);
170 * Lookup an IP into the LPM table.
172 * @param lpm
173 * LPM object handle
175 * IP to be looked up in the LPM table
182 rte_lpm6_lookup(const struct rte_lpm6 *lpm, const uint8_t *ip, uint32_t *next_hop);
185 * Lookup multiple IP addresses in an LPM table.
187 * @param lpm
188 * LPM object handle
190 * Array of IPs to be looked up in the LPM table
201 rte_lpm6_lookup_bulk_func(const struct rte_lpm6 *lpm,