[dpdk-dev] [PATCH 2/3] librte_eal: Import FreeBSD sys/tree.h into librte_eal/common

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Jun 9 09:25:12 CEST 2016

2016-06-08 17:58, Stephen Hemminger:
> On Thu,  9 Jun 2016 02:53:53 +0200
> Nikita Kozlov <nikita at elyzion.net> wrote:
> > This structure is used inside the rte_lpm6 lib for storing added rules.
> > It's imported from FreeBSD-10.3 from /usr/include/sys/tree.h, another
> > solution could have been to use on Linux the version from libbsd but it
> > would create an external dependency.
> Using Red-black tree is a good idea, and we have been doing it for a while
> both on v4 and v6.

When you say "we", you mean Vyatta? Brocade? in a commercial code?

More information about the dev mailing list