net/ionic: use existing array size macro
authorAndrew Boyer <aboyer@pensando.io>
Fri, 29 Jan 2021 22:44:33 +0000 (14:44 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 2 Feb 2021 23:48:11 +0000 (00:48 +0100)
commit76276d716b2ce6eb9dbef584cec4b67b4e364b21
tree73b8a8e70f2a931ee46ceb3c0a959aab090c978c
parente63ae349e1a829b221a68466955893452aa0411e
net/ionic: use existing array size macro

Using the RTE_DIM() macro makes the code clearer.

Signed-off-by: Andrew Boyer <aboyer@pensando.io>
drivers/net/ionic/ionic_dev.c
drivers/net/ionic/ionic_ethdev.c
drivers/net/ionic/ionic_lif.c
drivers/net/ionic/ionic_main.c