OSDN Git Service

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)
commitbb1bba35f50a4cae858ff4891f4c6698cf5b50b0
tree710ae43c77e6fb7cb9f44bbbd1d97bd8c663f018
parenta3a7992bc4e42633c34ab6a7623fd502e76146ed
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