Re: siphash in bgpd

2014-12-12 Thread Ted Unangst
On Mon, Dec 08, 2014 at 18:58, Ted Unangst wrote: > bgpd seemed like a good place to try out the new siphash functions. > > Three hash tables are pretty straight forward conversions. Diff below. Done. > rde_rib.c nexthop_hash uses hash32 for ipv6, and a simple xor hash for > ipv4. I left that al

siphash in bgpd

2014-12-08 Thread Ted Unangst
bgpd seemed like a good place to try out the new siphash functions. Three hash tables are pretty straight forward conversions. Diff below. rde_rib.c nexthop_hash uses hash32 for ipv6, and a simple xor hash for ipv4. I left that alone as the diff would be more than mechanical. red_update.c up_gen