> On Jan 27, 2021, at 12:22 PM, Ferruh Yigit <ferruh.yi...@intel.com> wrote:
> 
> 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 <abo...@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?
> 

Ah, I got fooled by NICVF_ARRAY_SIZE(), EFX_ARRAY_SIZE(), and friends. Will 
happily switch to RTE_DIM().

-Andrew

Reply via email to