examples: use common macro RTE_DIM
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Fri, 24 Jan 2020 04:55:43 +0000 (10:25 +0530)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 5 Feb 2020 13:37:41 +0000 (14:37 +0100)
commit7efe28bd07b3ac8cbc5cbc35ca6c5bc2f30c6a5b
tree2916785a758a7ea4aa079ed4a5279437bf6a490f
parent71bdd8a1785d25f91de7908ff915e4db7871eb2b
examples: 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>
examples/ip_pipeline/parser.c
examples/ipv4_multicast/main.c
examples/l3fwd-power/main.c
examples/l3fwd/l3fwd_em.c
examples/l3fwd/l3fwd_lpm.c
examples/vmdq/main.c
examples/vmdq_dcb/main.c