]> 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)
commit58c445c882e439ba083d67224d49d45614affede
treee63d618a7e1d9ce9bca3584c165b987f1d97e73c
parentc0b97b4d40a124f5ab1f7e5a84c1cd4d415f00fc
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