summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2019-04-22 15:08:50 +0300
committerDavid S. Miller <davem@davemloft.net>2019-04-23 08:09:32 +0300
commit857f138f04a7bf7749c540293ea9b6091a491de7 (patch)
treeff7f99281f33bca561c3ba4e604a05f3654fc71b /tools/perf/scripts/python
parentf1aaeacdae2bc5e8ef7343674b6cb34d516a8110 (diff)
downloadlinux-857f138f04a7bf7749c540293ea9b6091a491de7.tar.xz
mlxsw: spectrum_buffers: Remove assumption about pool order
The code currently assumes that ingress pools have lower indices than egress pools. This makes it impossible to add more ingress pools without breaking user configuration that relies on a certain pool index to correspond to an egress pool. Remove such assumptions from the code, so that more ingress pools could be added by subsequent patches. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Petr Machata <petrm@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions