numam-dpdk/app
Bruce Richardson 6f78a6651f app/test: check for mbuf allocation failure
If mbuf allocation failed for whatever reason, we would get a NULL
pointer exception in test_table_acl.c:test_pipeline_single_filter test
case.
We fix this by causing an early break out of the application loop. If we
quit the test immediately we would leak any existing allocated mbufs,
but by breaking instead, we allow the test to continue and clean up the
mbufs already in the pipeline, while still having a test failure as the
mbuf counts should not match.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
2014-12-17 01:04:06 +01:00
..
cmdline_test app: no more bare metal environment 2014-11-27 13:09:55 +01:00
dump_cfg app: no more bare metal environment 2014-11-27 13:09:55 +01:00
test app/test: check for mbuf allocation failure 2014-12-17 01:04:06 +01:00
test-acl add prefix to cache line macros 2014-11-27 16:21:11 +01:00
test-pipeline mk: fix build with shared pcap pmd 2014-12-16 23:35:31 +01:00
test-pmd app/testpmd: limit port mask bits to configured maximum 2014-12-17 01:04:06 +01:00
Makefile app/pipeline: packet framework benchmark 2014-06-17 03:34:11 +02:00