diff options
| author | Amit Cohen <[email protected]> | 2021-12-01 10:12:38 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-12-01 14:52:34 +0000 |
| commit | f8538aec88b46642553a9ba9efa0952f5958dbed (patch) | |
| tree | 610aab3f005af0e5e801958014c49662b6361455 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | c934757d90000a9d3779d2b436a70e3d060ef693 (diff) | |
mlxsw: Add support for more than 256 ports in SBSR register
Add 'port_page' field in SBSR to be able to query occupancy of more than
256 ports. The field determines the range of the ports specified in the
'ingress_port_mask' and 'egress_port_mask' bit masks:
>From '256 * port_page' to '256 * port_page + 255'.
For each local port, the appropriate port page is used. A query is never
performed for a port range that spans multiple port pages.
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/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions