summaryrefslogtreecommitdiff
path: root/lib/graph.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2019-08-12 11:27:09 -0400
committerStephen Worley <sworley@cumulusnetworks.com>2019-10-25 11:13:42 -0400
commit73a381871edd64e841ee6040423cfaca25117b1f (patch)
tree2b96cb1127f490daab4b404350c2963febc4fcb3 /lib/graph.c
parent62991a11679da8912815c763980a505d1ad37ed7 (diff)
lib: Add nexthop quick hash api
Add a nexthop hashing api for only hashing on word-sized attributes. Calling the jhash/jhash2 function is quite slow in scaled envrionments but sometimes you do need a more granular hash. The tradeoff here is that hashtable buckets using this hash might be more full. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'lib/graph.c')
0 files changed, 0 insertions, 0 deletions