Commit f7ebb40
mlxsw: spectrum_router: Call RIF setup before obtaining FID
For subport RIFs, the setup initializes, among other things, RIF port and
LAG numbers. Those are important to determine where in the PGT the RIF FID
will be stored. Therefore, call the RIF setup before fid_get.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://lore.kernel.org/r/f24d8cad7e4748b8e8e0e16894ca6a20704dea32.1700503644.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 27851df commit f7ebb40
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8419 | 8419 | | |
8420 | 8420 | | |
8421 | 8421 | | |
| 8422 | + | |
| 8423 | + | |
| 8424 | + | |
8422 | 8425 | | |
8423 | 8426 | | |
8424 | 8427 | | |
| |||
8428 | 8431 | | |
8429 | 8432 | | |
8430 | 8433 | | |
8431 | | - | |
8432 | | - | |
8433 | | - | |
8434 | 8434 | | |
8435 | 8435 | | |
8436 | 8436 | | |
| |||
0 commit comments