]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Initialize PGT table
authorAmit Cohen <amcohen@nvidia.com>
Mon, 27 Jun 2022 07:06:19 +0000 (10:06 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 28 Jun 2022 12:31:36 +0000 (14:31 +0200)
commitb2e49d1fde639620613b8a8873b8d6f69c462c50
tree710ae43c77e6fb7cb9f44bbbd1d97bd8c663f018
parent8411cc67af463c098d2e50b61b5fd284c998d188
mlxsw: spectrum: Initialize PGT table

Initialize PGT table as part of mlxsw_sp_init(). This table will be used
first in the next patch by FID code to set flooding entries, and later by
MDB code to add multicast entries.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c