diff options
| author | Ido Schimmel <[email protected]> | 2021-03-22 15:58:53 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-03-22 20:45:46 +0000 |
| commit | d354fdd923e7a3dc2f5c34cfcfb0401bd8c56ea8 (patch) | |
| tree | 7e914f053797dc5e2a50b306345a353a3b4f1f39 /net/lapb/lapb_in.c | |
| parent | mlxsw: spectrum_router: Avoid unnecessary neighbour updates (diff) | |
| download | kernel-d354fdd923e7a3dc2f5c34cfcfb0401bd8c56ea8.tar.gz kernel-d354fdd923e7a3dc2f5c34cfcfb0401bd8c56ea8.zip | |
mlxsw: spectrum_router: Create per-ASIC router operations
There are several differences in the router module between Spectrum-1
and Spectrum-{2,3}. Currently, this is only apparent in the router
interface (RIF) operations that are split between these ASICs.
A subsequent patch is going to introduce another difference between
these ASICs.
Create per-ASIC router operations that will encapsulate all these
differences. For now, these operations are only used to set the per-ASIC
RIF operations in 'mlxsw_sp->router->rif_ops_arr'. Note that this fields
was unused since commit 1f5b23033937 ("mlxsw: spectrum: Set RIF ops per
ASIC type").
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
