numam-dpdk/app
Bruce Richardson 4dccdc789b app/testpmd: simplify handling of stats mappings error
Simplifiy the logic in the error checking branch. Rather than having a
single error branch which checked both RX and TX conditions and made
extensive use of the ? operator, move the error checking explicitly into
the RX and TX individual branches.

The original code caused compilation issues when attempting compilation
with clang on BSD, due to type mismatches. This change fixes the issues
while making the code easier to read and maintain overall.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2014-06-19 00:57:50 +02:00
..
cmdline_test remove trailing whitespaces 2014-06-11 00:29:34 +02:00
dump_cfg remove trailing whitespaces 2014-06-11 00:29:34 +02:00
test app/test: packet framework unit tests 2014-06-17 03:34:11 +02:00
test-acl acl: new test-acl application 2014-06-14 01:29:45 +02:00
test-pipeline app/pipeline: packet framework benchmark 2014-06-17 03:34:11 +02:00
test-pmd app/testpmd: simplify handling of stats mappings error 2014-06-19 00:57:50 +02:00
Makefile app/pipeline: packet framework benchmark 2014-06-17 03:34:11 +02:00