app: use common macro RTE_DIM
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Fri, 24 Jan 2020 04:55:42 +0000 (10:25 +0530)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 5 Feb 2020 13:37:41 +0000 (14:37 +0100)
commit71bdd8a1785d25f91de7908ff915e4db7871eb2b
treeecd34e3d20c4a2f0bc4c1a1d97c0dcfb0a912e87
parent55499896d91a4fb01e743b71df639dc1c18314d8
app: use common macro RTE_DIM

Use RTE_DIM macro to calculate array size.

Suggested-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: David Marchand <david.marchand@redhat.com>
27 files changed:
app/test-pmd/cmdline.c
app/test-pmd/icmpecho.c
app/test-pmd/testpmd.c
app/test/test.c
app/test/test_cmdline_etheraddr.c
app/test/test_cmdline_ipaddr.c
app/test/test_cmdline_num.c
app/test/test_cmdline_portlist.c
app/test/test_cmdline_string.c
app/test/test_debug.c
app/test/test_eal_flags.c
app/test/test_errno.c
app/test/test_func_reentrancy.c
app/test/test_hash.c
app/test/test_hash_functions.c
app/test/test_lpm.c
app/test/test_lpm6.c
app/test/test_lpm6_data.h
app/test/test_malloc.c
app/test/test_memcpy.c
app/test/test_memcpy_perf.c
app/test/test_mp_secondary.c
app/test/test_pdump.c
app/test/test_pmd_ring_perf.c
app/test/test_power.c
app/test/test_ring_perf.c
app/test/test_timer_secondary.c