[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170925.143820.627390178911789605.davem@davemloft.net>
Date: Mon, 25 Sep 2017 14:38:20 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: kraigatgoog@...il.com
Cc: daniel@...que.org, ast@...com, daniel@...earbox.net,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next v2] bpf: Optimize lpm trie delete
From: Craig Gallek <kraigatgoog@...il.com>
Date: Thu, 21 Sep 2017 18:43:29 -0400
> From: Craig Gallek <kraig@...gle.com>
>
> Before the delete operator was added, this datastructure maintained
> an invariant that intermediate nodes were only present when necessary
> to build the tree. This patch updates the delete operation to reinstate
> that invariant by removing unnecessary intermediate nodes after a node is
> removed and thus keeping the tree structure at a minimal size.
>
> Suggested-by: Daniel Mack <daniel@...que.org>
> Signed-off-by: Craig Gallek <kraig@...gle.com>
Applied, thank you.
Powered by blists - more mailing lists