Merge branch 'mlxsw-unified-bridge-conversion-part-5'
authorDavid S. Miller <davem@davemloft.net>
Wed, 29 Jun 2022 12:35:47 +0000 (13:35 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jun 2022 12:35:47 +0000 (13:35 +0100)
commitda8ff2a278b94088f501e55f543644f88b3ffe37
tree43400929a85c3ca37a0c16145b759662e3c2bd96
parentd640516a65d8bec3e5f9ddccc3e15503277c7cbb
parente28cd993b9a46bc1394d0e46646444b12ee5b69b
Merge branch 'mlxsw-unified-bridge-conversion-part-5'

Ido Schimmel says:

====================
mlxsw: Unified bridge conversion - part 5/6

This is the fifth part of the conversion of mlxsw to the unified bridge
model.

The previous part that was merged in commit d521bc0a0f7c ("Merge branch
'mlxsw-unified-bridge-conversion-part-4-6'") converted the flooding code
to use the new APIs of the unified bridge model. As part of this
conversion, the flooding code started accessing the port group table
(PGT) directly in order to allocate MID indexes and configure the ports
via which a packet needs to be replicated.

MDB entries in the device also make use of the PGT table, but the
related code has its own PGT allocator and does not make use of the
common core that was added in the previous patchset. This patchset
converts the MDB code to use the common PGT code.

The first nine patches prepare the MDB code for the conversion that is
performed by the last patch.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>