Hi Matthew, I published changes to rte_lpm_tbl24_entry only because it was just an idea :) So rte_lpm_tbl8_entry should look like: struct rte_lpm_tbl8_entry { uint32_t next_hop :24; /**< next hop. */ uint32_t valid :1; /**< Validation flag. */ uint32_t valid_group :1; /**< Group validation flag. */ uint32_t depth :6; /**< Rule depth. */ };
,and struct rte_lpm_rule { uint32_t ip; /**< Rule IP address. */ uint32_t next_hop; /**< Rule next hop. */ }; , and different defines and checks should be modified too. 2015-06-24 8:15 GMT+03:00 Matthew Hall <mhall at mhcomputing.net>: > OK, I went and made a whole ton of patches to LPM and the tests and > examples, > now the selftest errors out... but I think maybe I don't have an adequate > amount of hugepages. How much hugepage memory did people have when they > did the selftest successfully before? > > I just keep seeing this over and over... > > RTE>>lpm_autotest > Error at line 293: > ERROR: LPM Test tests[i]: FAIL > LPM: LPM memory allocation failed > > Matthew. >