7 #ifndef _RTE_LPM_SCALAR_H_ 8 #define _RTE_LPM_SCALAR_H_ 20 rte_xmm_t xip = { .x = ip };
25 hop[0] = (ret == 0) ? nh : defv;
27 hop[1] = (ret == 0) ? nh : defv;
29 hop[2] = (ret == 0) ? nh : defv;
31 hop[3] = (ret == 0) ? nh : defv;
static int rte_lpm_lookup(const struct rte_lpm *lpm, uint32_t ip, uint32_t *next_hop)
static void rte_lpm_lookupx4(const struct rte_lpm *lpm, xmm_t ip, uint32_t hop[4], uint32_t defv)