aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMoshe Shemesh <moshe@mellanox.com>2018-04-08 14:16:48 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2018-05-04 12:11:51 -0700
commit12b996d16b83414fbbdde37b661cfd0a622f40cf (patch)
tree5a4e4d551917f4971cfa38fcbfdc52bd4fdf2209 /tools/perf/scripts/python
parented644fab19db05902243f3ebf9e1245c4c79bebb (diff)
net/mlx5: Fix dump_command mailbox length printed
Dump command mailbox length printed was correct only if data_only flag was set. For the case that data_only flag was clear the offset to stop printing at was wrong and so the buffer printed was too short. Changed the print loop to stop according to number of buffers in mailbox. Fixes: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters") Signed-off-by: Moshe Shemesh <moshe@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions