[dpdk-dev] [PATCH v2 1/2] app/test: use RTE_DIM instead of ARRAY_SIZE
David Marchand
david.marchand at redhat.com
Sun Oct 27 14:35:08 CET 2019
On Thu, Oct 17, 2019 at 2:10 PM <pbhagavatula at marvell.com> wrote:
>
> From: Pavan Nikhilesh <pbhagavatula at marvell.com>
>
> Use RTE_DIM instead of re-defining ARRAY_SIZE.
>
> Signed-off-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
> Acked-by: Gage Eads <gage.eads at intel.com>
Applied, thanks.
I had a similar patch in store :-).
If you want to continue on this topic, look at other files in app/test:
$ git grep -l sizeof.*sizeof.*\\[ app/test
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_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_ring_perf.c
app/test/test_timer_secondary.c
--
David Marchand
More information about the dev
mailing list