numam-dpdk/lib/librte_acl
Konstantin Ananyev afd7f2d86a acl: use setjmp/longjmp to handle alloc failures at build phase
During build phase ACL doing quite a lot of memory allocations
for relatively small temporary structures.
In theory each of such allocation can fail, so we need to handle
all these possible failures.
That adds a lot of extra checks and makes the code harder to read and follow.
To simplify the process, made changes to handle all such failures
in one place.
Note, that all that memory for temporary structures
is freed at one go at the end of build phase.

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2015-04-28 11:55:03 +02:00
..
acl_bld.c acl: use setjmp/longjmp to handle alloc failures at build phase 2015-04-28 11:55:03 +02:00
acl_gen.c acl: introduce config parameter for performance/space trade-off 2015-01-28 17:11:26 +01:00
acl_run_avx2.c acl: use scalar method fastest for some cases 2015-01-28 17:11:25 +01:00
acl_run_avx2.h acl: deduplicate some SSE and AVX2 code 2015-01-28 17:11:25 +01:00
acl_run_scalar.c acl: deduplicate a bit of RT code 2015-01-28 17:11:25 +01:00
acl_run_sse.c acl: use scalar method fastest for some cases 2015-01-28 17:11:25 +01:00
acl_run_sse.h acl: deduplicate some SSE and AVX2 code 2015-01-28 17:11:25 +01:00
acl_run.h acl: use scalar method fastest for some cases 2015-01-28 17:11:25 +01:00
acl_vect.h acl: deduplicate some SSE and AVX2 code 2015-01-28 17:11:25 +01:00
acl.h acl: add comments about internal layout 2015-01-28 17:12:16 +01:00
Makefile mk: add library version extension 2015-02-03 16:56:58 +01:00
rte_acl_osdep.h eal/x86: move header file for vector instructions 2015-03-20 19:24:38 +01:00
rte_acl_version.map lib: provide initial versioning 2015-02-03 16:56:58 +01:00
rte_acl.c tailq: move to dynamic tailq 2015-03-10 12:06:08 +01:00
rte_acl.h tailq: move to dynamic tailq 2015-03-10 12:06:08 +01:00
tb_mem.c acl: use setjmp/longjmp to handle alloc failures at build phase 2015-04-28 11:55:03 +02:00
tb_mem.h acl: use setjmp/longjmp to handle alloc failures at build phase 2015-04-28 11:55:03 +02:00