bitrate: use common macro RTE_DIM
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Thu, 17 Oct 2019 12:10:00 +0000 (17:40 +0530)
committerDavid Marchand <david.marchand@redhat.com>
Sun, 27 Oct 2019 13:40:59 +0000 (14:40 +0100)
commitf1c16d40ed843923bde9b9e8362f11cffa486fb8
tree31e564220ae06bf4fba972d480372cf673744c80
parent8ada5b15a94e1b356f45d4232a2f8fddca234044
bitrate: use common macro RTE_DIM

Use RTE_DIM instead of re-defining ARRAY_SIZE.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
lib/librte_bitratestats/rte_bitrate.c