]> git.puffer.fish Git - matthieu/frr.git/commit
lib: Call nexthop g_addr hashes together
authorStephen Worley <sworley@cumulusnetworks.com>
Tue, 6 Aug 2019 21:30:16 +0000 (17:30 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Fri, 25 Oct 2019 15:13:42 +0000 (11:13 -0400)
commita15e669ceb0c9adde7ca2370aae7168a0b6548bc
tree37ec022adab2ed4f6d4c396421d184da1fd4ba44
parent12ec584da837e2c3410190b202b7d30875d0a9dc
lib: Call nexthop g_addr hashes together

When hashing a nexthop, shove all the nexthop g_addr data together
and pass it as one call to jhash2() to optimize a bit better.

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