Re: Single route lookup when forwarding an IPv4 packet

2016-05-02 Thread Alexander Bluhm
On Mon, Apr 25, 2016 at 02:40:41PM +0200, Martin Pieuchot wrote: > Diff below makes ip_forward() use the route entry fetched in in_ouraddr(). > > As you can imagine a proper caching could be done for forwarding using > PF statekey. > > This diff has been tested by Hrvoje Popovski who confirmed th

Re: Single route lookup when forwarding an IPv4 packet

2016-05-02 Thread Martin Pieuchot
On 25/04/16(Mon) 14:40, Martin Pieuchot wrote: > Diff below makes ip_forward() use the route entry fetched in in_ouraddr(). > > As you can imagine a proper caching could be done for forwarding using > PF statekey. > > This diff has been tested by Hrvoje Popovski who confirmed that the > benchmark

Single route lookup when forwarding an IPv4 packet

2016-04-25 Thread Martin Pieuchot
Diff below makes ip_forward() use the route entry fetched in in_ouraddr(). As you can imagine a proper caching could be done for forwarding using PF statekey. This diff has been tested by Hrvoje Popovski who confirmed that the benchmark performances are similar to the ones using a single cache en