]> 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)
commit807fcb07b9cfdb9cc8acc1c37e8fe63d41c0acf5
tree710ae43c77e6fb7cb9f44bbbd1d97bd8c663f018
parent3442077dbef6c88f7daf2ee94e457c9916f217f3
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