[dpdk-dev] LPM6 next hop size

Stephen Hemminger stephen at networkplumber.org
Thu Sep 22 01:42:05 CEST 2016


On Wed, 21 Sep 2016 10:29:05 -0700
Matthew Hall <mhall at mhcomputing.net> wrote:

> 5. It uses "malloc" instead of standard DPDK allocators. That's bad for me 
> because I don't want to use libc malloc in my code. Only DPDK allocators and 
> jemalloc.

This was intentional because rte_malloc comes out of huge page area and that
resource is a critical resource. It could use rte_malloc() but that makes it
more likely to break when doing Policy Based routing or VRF.

The BSD tree was used because it was space/time efficient lookup and available
on both BSD and Linux.


More information about the dev mailing list