]> git.puffer.fish Git - matthieu/frr.git/commit
lib: Nexthop hash onlink and ifindex with one call
authorStephen Worley <sworley@cumulusnetworks.com>
Mon, 12 Aug 2019 15:07:53 +0000 (11:07 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Fri, 25 Oct 2019 15:13:42 +0000 (11:13 -0400)
commitcba6a409cfea9bf79ffb1088a1a15736cdd4db1a
tree523d26477fce67c7f1a554c80bc4adc0088b33d0
parent0ad40d16159ff61febd1d884d035dfd8fa47873b
lib: Nexthop hash onlink and ifindex with one call

In the nexthop hashing function, lets reduce the hash calls as
much as possible. So, reduce the onlink and infindex to one
call to jhash_2words().

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
lib/nexthop.c