From 8e843bbf40aa2bd21f6d7fef02c4230ea66c3bdd Mon Sep 17 00:00:00 2001 From: Andrew Yourtchenko Date: Wed, 20 Mar 2019 17:47:03 +0100 Subject: acl-plugin: get rid of doubly-linked list fields in hash applied ACEs With collision match vector, the doubly-linked list is not needed anymore. Change-Id: Iaf667ebe6ce0bdd78306bec31d3949e6acb8d401 Signed-off-by: Andrew Yourtchenko --- src/plugins/acl/hash_lookup_types.h | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'src/plugins/acl/hash_lookup_types.h') diff --git a/src/plugins/acl/hash_lookup_types.h b/src/plugins/acl/hash_lookup_types.h index 3efcf4e372c..63b92455325 100644 --- a/src/plugins/acl/hash_lookup_types.h +++ b/src/plugins/acl/hash_lookup_types.h @@ -61,19 +61,9 @@ typedef struct { /* applied mask type index */ u32 mask_type_index; /* - * in case of the same key having multiple entries, - * this holds the index of the next entry. + * index of applied entry, which owns the colliding_rules vector */ - u32 next_applied_entry_index; - /* - * previous entry in the list of the chained ones, - * if ~0 then this is entry in the hash. - */ - u32 prev_applied_entry_index; - /* - * chain tail, if this is the first entry - */ - u32 tail_applied_entry_index; + u32 collision_head_ae_index; /* * Collision rule vector for matching - set only on head entry */ -- cgit 1.2.3-korg