X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Facl%2Facl.h;h=b994b8506b7ba5c9bb33464da70042733abf8460;hb=2e0798f90d9672b1c8dc702a2bdae485a6771ff8;hp=733d785d886b5482f2adb8df96cfb20c469922a3;hpb=b26743d093141a2aef19bdf8a7fe06dcaa81329a;p=vpp.git diff --git a/src/plugins/acl/acl.h b/src/plugins/acl/acl.h index 733d785d886..b994b8506b7 100644 --- a/src/plugins/acl/acl.h +++ b/src/plugins/acl/acl.h @@ -194,6 +194,13 @@ typedef struct { /* Do we use hash-based ACL matching or linear */ int use_hash_acl_matching; + /* Do we use the TupleMerge for hash ACLs or not */ + int use_tuple_merge; + + /* Max collision vector length before splitting the tuple */ +#define TM_SPLIT_THRESHOLD 39 + int tuple_merge_split_threshold; + /* a pool of all mask types present in all ACEs */ ace_mask_type_entry_t *ace_mask_type_pool;