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

Use RTE_DIM to calculate array size.

Suggested-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Acked-by: Kevin Laatz <kevin.laatz@intel.com>
Acked-by: David Marchand <david.marchand@redhat.com>
lib/librte_ethdev/rte_ethdev.c
lib/librte_ip_frag/ip_frag_internal.c
lib/librte_port/rte_port_eventdev.c
lib/librte_port/rte_port_eventdev.h
lib/librte_telemetry/rte_telemetry_parser_test.c