summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPaul Blakey <paulb@mellanox.com>2016-10-25 18:36:26 +0300
committerDavid S. Miller <davem@davemloft.net>2016-10-29 12:00:39 -0400
commiteccec8da3b4e6f403040c7187338a46d2ea27c20 (patch)
tree2603dfaa88604a8656ca8ed41f47e02f9b4652b5 /tools/perf/scripts/python/stackcollapse.py
parentbba1574c2f11d674bf343f3cf307b33d19f73d9d (diff)
net/mlx5: Keep autogroups list ordered
Finding a new autogroup range is done by going over a group list sorted by each group start index. The search is stopped after finding the first free range. Adding the newly created group to the list is wrongly added to the end of the list regardless of its start index as the parameter of where to insert it is ignored. This commit makes sure to use that unused parameter to insert it where requested. Fixes: f0d22d187473 ('net/mlx5_core: Introduce flow steering autogrouped flow table') Signed-off-by: Paul Blakey <paulb@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions