On 19 April 2016 at 11:06, Martin Pieuchot <[email protected]> wrote:
> This single cached route is a nice trick for having higher forwarding
> numbers w/ benchmarks.  But as soon as you start forwarding packets to
> different end addresses, even using a single next hop, it becomes
> useless.
>
> Since this single cached route won't fly with multiple forwarding paths
> and it also makes some upcoming refactoring more complicated I'd like to
> kill it now.
>
> Note that with PF disable the kernel is currently doing 2 lookups per
> forwarded packet.  One to check if the packet needs to be delivered
> locally and a second one, probably cached by ``ipforward_rt'', to find
> the next hop.
>
> My goal is to change the kernel to just do a single lookup per packet,
> so even without ``ipforward_rt'', the performances will be the same.
>
> Once that's done, I'll merge the multicast address lookup with this
> single route lookup, for obvious reasons.
>
> Ok?
>

Go for it, it's long overdue.

Reply via email to