]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: Convert existing consumers to use new API for parsing configuration
authorAmit Cohen <amcohen@nvidia.com>
Sun, 22 Aug 2021 11:37:14 +0000 (14:37 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Aug 2021 20:39:55 +0000 (21:39 +0100)
commit9d17ae4812ca0a46f7bdbfd0559726bf75b31d8c
treee63d618a7e1d9ce9bca3584c165b987f1d97e73c
parentff58e858991bf80096e6b04d910c1dee4da0bf40
mlxsw: Convert existing consumers to use new API for parsing configuration

Convert VxLAN and PTP modules to increase parsing depth using new API
that was added in the previous patch.

Separate MPRS register's configuration to VxLAN related configuration
and parsing depth configuration. Handle each one using the appropriate
API.

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_nve_vxlan.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c