aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGal Pressman <galpress@amazon.com>2019-02-06 15:45:35 +0200
committerJason Gunthorpe <jgg@mellanox.com>2019-02-07 13:14:55 -0700
commitaf8b38ed0b9d34db940a52418e7849904336ace5 (patch)
tree9b2a0b3457e7ddeba776254583ee1970862ba468 /tools/perf/scripts/python
parentDocumentation/infiniband: update from locked to pinned_vm (diff)
downloadlinux-af8b38ed0b9d34db940a52418e7849904336ace5.tar.gz
linux-af8b38ed0b9d34db940a52418e7849904336ace5.zip
IB/mlx5: Simplify WQE count power of two check
Use is_power_of_2() instead of hard coding it in the driver. While at it, fix the meaningless error print. Signed-off-by: Gal Pressman <galpress@amazon.com> Acked-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions