mlxsw: spectrum_switchdev: Rename MIDs list
authorAmit Cohen <amcohen@nvidia.com>
Wed, 29 Jun 2022 09:40:00 +0000 (12:40 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jun 2022 12:35:46 +0000 (13:35 +0100)
commiteaa0791aed8bf95ac50c8e3c79f14c7879235623
tree575762ab317c99e195eecd5145023067fe31ad26
parenteede53a49b3c52a95a9f11145ff0e3d86f192f39
mlxsw: spectrum_switchdev: Rename MIDs list

Currently, the list which stores the MDB entries for a given bridge
instance is called 'mids_list'.

This name is not accurate as a MID entry stores a bitmap of ports to
which a packet needs to be replicated and a MDB entry stores the mapping
from {MAC, FID} to PGT index (MID)

Rename it to 'mdb_list'.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c