Go to file
Konstantin Ananyev 62945e029e acl: introduce config parameter for performance/space trade-off
If at build phase we don't make any trie splitting,
then temporary build structures and resulting RT structure might be
much bigger than current.
>From other side - having just one trie instead of multiple can speedup
search quite significantly.
>From my measurements on rule-sets with ~10K rules:
RT table up to 8 times bigger, classify() up to 80% faster
than current implementation.
To make it possible for the user to decide about performance/space trade-off -
new parameter for build config structure (max_size) is introduced.
Setting it to the value greater than zero, instructs  rte_acl_build() to:
- make sure that size of RT table wouldn't exceed given value.
- attempt to minimise number of tries in the table.
Setting it to zero maintains current behaviour.
That introduces a minor change in the public API, but I think the possible
performance gain is too big to ignore it.

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
2015-01-28 17:11:26 +01:00
app acl: introduce config parameter for performance/space trade-off 2015-01-28 17:11:26 +01:00
config af_packet: add compile-time checks for kernel-specific options 2014-12-05 22:09:23 +01:00
doc doc: update testpmd commands for ethertype filter 2015-01-22 11:49:33 +01:00
examples acl: introduce config parameter for performance/space trade-off 2015-01-28 17:11:26 +01:00
lib acl: introduce config parameter for performance/space trade-off 2015-01-28 17:11:26 +01:00
mk vhost: fix combined lib link with -lfuse 2015-01-27 16:58:45 +01:00
pkg version: 1.8.0 2014-12-20 00:38:39 +01:00
scripts scripts: fix newline in configuration with bsd sed 2014-11-28 17:05:02 +01:00
tools tools: fix setup script for Fedora 21 2014-10-10 17:50:31 +02:00
.gitignore init DPDK repository 2013-03-07 10:57:42 +01:00
GNUmakefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00