summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorShay Drory <shayd@nvidia.com>2022-12-18 13:42:14 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2022-12-28 22:38:49 +0300
commit44aee8ea15ac205490a41b00cbafcccbf9f7f82b (patch)
tree3f6175ca4b81e072aaf4da6ff7b0acbdead51454 /tools/perf/scripts/python/task-analyzer.py
parent2a35b2c2e6a252eda2134aae6a756861d9299531 (diff)
downloadlinux-44aee8ea15ac205490a41b00cbafcccbf9f7f82b.tar.xz
net/mlx5: Fix io_eq_size and event_eq_size params validation
io_eq_size and event_eq_size params are of param type DEVLINK_PARAM_TYPE_U32. But, the validation callback is addressing them as DEVLINK_PARAM_TYPE_U16. This cause mismatch in validation in big-endian systems, in which values in range were rejected while 268500991 was accepted. Fix it by checking the U32 value in the validation callback. Fixes: 0844fa5f7b89 ("net/mlx5: Let user configure io_eq_size param") Signed-off-by: Shay Drory <shayd@nvidia.com> Reviewed-by: Moshe Shemesh <moshe@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions