Enable storing state in flowhash hash tables 56/14356/2
authorPierre Pfister <ppfister@cisco.com>
Mon, 20 Aug 2018 11:48:15 +0000 (13:48 +0200)
committerDamjan Marion <dmarion@me.com>
Mon, 20 Aug 2018 19:30:22 +0000 (19:30 +0000)
commit052c2dc7e1fb5c9ec793371b48b988cfeed1c87f
treec2b89a864cab0208d58c6b18e30e4c06c78ec368
parent324454492cdc1022397486bb54db63d96e14532c
Enable storing state in flowhash hash tables

Flowhash user can now rely on the table to be initialized
to zero and know when an entry is cleaned up by the
garbage collector.

This is usefull to store state in flowhash entries without
the need for callbacks when an entry timeouts.

Change-Id: Ieece6b7277241f84ea3f2473d0771c6ee8ce460c
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
src/vppinfra/flowhash_template.h