[dpdk-dev] [PATCH 2/3] drivers: use RTE_DIM instead of ARRAY_SIZE
Andrew Rybchenko
arybchenko at solarflare.com
Fri Oct 11 08:14:07 CEST 2019
On 10/11/19 7:07 AM, pbhagavatula at marvell.com wrote:
> From: Pavan Nikhilesh <pbhagavatula at marvell.com>
>
> Use RTE_DIM instead of re-defining ARRAY_SIZE.
>
> Signed-off-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
[snip]
> drivers/net/sfc/base/ef10_ev.c | 4 +--
> drivers/net/sfc/base/ef10_filter.c | 12 ++++----
> drivers/net/sfc/base/ef10_mac.c | 18 +++++------
> drivers/net/sfc/base/ef10_nic.c | 4 +--
> drivers/net/sfc/base/ef10_nvram.c | 6 ++--
> drivers/net/sfc/base/efx.h | 3 --
> drivers/net/sfc/base/efx_port.c | 2 +-
> drivers/net/sfc/base/efx_rx.c | 2 +-
> drivers/net/sfc/base/siena_mac.c | 2 +-
> drivers/net/sfc/base/siena_nic.c | 20 ++++++-------
> drivers/net/sfc/base/siena_nvram.c | 6 ++--
NACK
No changes in net/sfc/base please. It is the base driver
which is used on other platforms. So, it can't use DPDK
specific macros.
More information about the dev
mailing list