[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170122225851.GC73160@ast-mbp.thefacebook.com>
Date: Sun, 22 Jan 2017 14:58:53 -0800
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Daniel Mack <daniel@...que.org>
Cc: ast@...com, dh.herrmann@...il.com, daniel@...earbox.net,
netdev@...r.kernel.org, davem@...emloft.net
Subject: Re: [PATCH v4 2/3] bpf: Add tests for the lpm trie map
On Sat, Jan 21, 2017 at 05:26:12PM +0100, Daniel Mack wrote:
> From: David Herrmann <dh.herrmann@...il.com>
>
> The first part of this program runs randomized tests against the
> lpm-bpf-map. It implements a "Trivial Longest Prefix Match" (tlpm)
> based on simple, linear, single linked lists. The implementation
> should be pretty straightforward.
>
> Based on tlpm, this inserts randomized data into bpf-lpm-maps and
> verifies the trie-based bpf-map implementation behaves the same way
> as tlpm.
>
> The second part uses 'real world' IPv4 and IPv6 addresses and tests
> the trie with those.
>
> Signed-off-by: David Herrmann <dh.herrmann@...il.com>
> Signed-off-by: Daniel Mack <daniel@...que.org>
Acked-by: Alexei Starovoitov <ast@...nel.org>
Powered by blists - more mailing lists