Lines Matching defs:ips

119 static inline void dir24_8_lookup_bulk_##suffix(void *p, const uint32_t *ips, \
129 rte_prefetch0(get_tbl24_p(dp, ips[i], nh_sz)); \
132 ips[i + prefetch_offset], nh_sz)); \
133 tmp = ((type *)dp->tbl24)[ips[i] >> 8]; \
135 tmp = ((type *)dp->tbl8)[(uint8_t)ips[i] + \
140 tmp = ((type *)dp->tbl24)[ips[i] >> 8]; \
142 tmp = ((type *)dp->tbl8)[(uint8_t)ips[i] + \
154 dir24_8_lookup_bulk(struct dir24_8_tbl *dp, const uint32_t *ips,
162 rte_prefetch0(get_tbl24_p(dp, ips[i], nh_sz));
164 rte_prefetch0(get_tbl24_p(dp, ips[i + prefetch_offset],
166 tmp = get_tbl24(dp, ips[i], nh_sz);
168 tmp = get_tbl8(dp, tmp, ips[i], nh_sz);
173 tmp = get_tbl24(dp, ips[i], nh_sz);
175 tmp = get_tbl8(dp, tmp, ips[i], nh_sz);
182 dir24_8_lookup_bulk_0(void *p, const uint32_t *ips,
187 dir24_8_lookup_bulk(dp, ips, next_hops, n, 0);
191 dir24_8_lookup_bulk_1(void *p, const uint32_t *ips,
196 dir24_8_lookup_bulk(dp, ips, next_hops, n, 1);
200 dir24_8_lookup_bulk_2(void *p, const uint32_t *ips,
205 dir24_8_lookup_bulk(dp, ips, next_hops, n, 2);
209 dir24_8_lookup_bulk_3(void *p, const uint32_t *ips,
214 dir24_8_lookup_bulk(dp, ips, next_hops, n, 3);
218 dir24_8_lookup_bulk_uni(void *p, const uint32_t *ips,
228 rte_prefetch0(get_tbl24_p(dp, ips[i], nh_sz));
230 rte_prefetch0(get_tbl24_p(dp, ips[i + prefetch_offset],
232 tmp = get_tbl24(dp, ips[i], nh_sz);
234 tmp = get_tbl8(dp, tmp, ips[i], nh_sz);
239 tmp = get_tbl24(dp, ips[i], nh_sz);
241 tmp = get_tbl8(dp, tmp, ips[i], nh_sz);
249 typedef void (*dir24_8_lookup_bulk_be_cb)(void *p, const uint32_t *ips, uint64_t *next_hops,
253 dir24_8_lookup_bulk_be(void *p, const uint32_t *ips, uint64_t *next_hops, const unsigned int n,
260 cb(p, ips, next_hops, n);
265 le_ips[j] = rte_be_to_cpu_32(ips[i + j]);
274 name##_be(void *p, const uint32_t *ips, uint64_t *next_hops, const unsigned int n) \
276 dir24_8_lookup_bulk_be(p, ips, next_hops, n, name); \