diff options
| author | Amit Cohen <[email protected]> | 2022-06-19 13:29:17 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-06-20 10:03:33 +0100 |
| commit | 48bca94fff12b869c4e124b1201fb908c7c16e29 (patch) | |
| tree | a1b23f1763b51ab722a089af4cd7eda355bc0ed1 /tools/perf/scripts/python/stat-cpi.py | |
| parent | 94536249b8d8e7434d79e5a8373986818d7d512b (diff) | |
mlxsw: reg: Replace MID related fields in SFGC register
SFGC register maps {packet type, bridge type} -> {MID base, table type}.
As preparation for unified bridge model, remove 'mid' field and add
'mid_base' field.
The MID index (index to PGT table which maps MID to local port list and
SMPE index) is a result of 'mid_base' + 'fid_offset'. Using the legacy
bridge model, firmware configures 'mid_base'. However, using the new model,
software is responsible to configure it via SFGC register.
The 'mid_base' is configured per {packet type, bridge type}, for
example, for {Unicast, .1Q}, {Broadcast, .1D}.
Add the field 'mid_base' to SFGC register and increase the length of the
register accordingly.
Remove the field 'mid' as currently it is ignored by the device, its use
is an old leftover.
Signed-off-by: Amit Cohen <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions