dpaa2-switch: reduce the size of the if_id bitmap to 64 bits
authorIoana Ciornei <ioana.ciornei@nxp.com>
Tue, 16 Mar 2021 14:55:10 +0000 (16:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Mar 2021 22:29:49 +0000 (15:29 -0700)
commit2b7e3f7d1b7e347c328a88f937acd53b2849534a
treee30ecbfd914852e44d01a182d96d085b602e6120
parent05b363608b5bfb1d55675655bab36486c6df729b
dpaa2-switch: reduce the size of the if_id bitmap to 64 bits

The maximum number of DPAA2 switch interfaces, including the control
interface, is 64. Even though this restriction existed from the first
place, the command structures which use an interface id bitmap were
poorly described and even though a single uint64_t is enough, all of
them used an array of 4 uint64_t's.
Fix this by reducing the size of the interface id field to a single
uint64_t.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpsw-cmd.h
drivers/net/ethernet/freescale/dpaa2/dpsw.c