diff options
author | Petr Machata <[email protected]> | 2023-10-19 12:27:19 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-10-20 11:47:50 +0100 |
commit | c678972580aedd28f273afdca94da6bb193ba3e7 (patch) | |
tree | c75abab9f824d1fbe7f82fdf0dc63e5f42c5460f /tools/perf/scripts/python/gecko.py | |
parent | 8c893abd64ae662990fb41817011d84c101a4083 (diff) |
mlxsw: spectrum: Allocate LAG table when in SW LAG mode
In this patch, if the LAG mode is SW, allocate the LAG table and configure
SGCR to indicate where it was allocated.
We use the default "DDD" (for dynamic data duplication) layout of the LAG
table. In the DDD mode, the membership information for each LAG is copied
in 8 PGT entries. This is done for performance reasons. The LAG table then
needs to be allocated on an address aligned to 8. Deal with this by
moving the LAG init ahead so that the LAG table is allocated at address 0.
Signed-off-by: Petr Machata <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions