[dpdk-dev] [PATCH 04/13] net/ionic: add an array-size macro

Ferruh Yigit ferruh.yigit at intel.com
Wed Jan 27 18:22:57 CET 2021


On 1/18/2021 8:34 PM, Andrew Boyer wrote:
> Using the IONIC_ARRAY_SIZE() macro makes the code clearer.
> 
> Signed-off-by: Andrew Boyer <aboyer at pensando.io>

There is already 'RTE_DIM' macro for it (in 
'lib/librte_eal/include/rte_common.h'), what do you think using it instead of 
creating a new one?




More information about the dev mailing list