> On Jan 27, 2021, at 12:22 PM, Ferruh Yigit 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
>
> There is already 'RTE_DIM' macro for it (in
> 'lib/librte_eal/include/rte_common.h'), what do yo
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
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?
Using the IONIC_ARRAY_SIZE() macro makes the code clearer.
Signed-off-by: Andrew Boyer
---
drivers/net/ionic/ionic_dev.c| 10 --
drivers/net/ionic/ionic_ethdev.c | 3 +--
drivers/net/ionic/ionic_lif.c| 9 +++--
drivers/net/ionic/ionic_main.c | 32 +++--
3 matches
Mail list logo