diff options
author | Steve Wise <swise@opengridcomputing.com> | 2018-06-21 10:43:21 -0400 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-06-25 17:27:51 -0400 |
commit | 7b72717a20bba8bdd01b14c0460be7d15061cd6b (patch) | |
tree | 98ce3e993f8f142d4263c4149da31a39d4f9a569 /tools/perf/scripts/python/netdev-times.py | |
parent | 6f0d349d922ba44e4348a17a78ea51b7135965b1 (diff) |
iw_cxgb4: correctly enforce the max reg_mr depth
The code was mistakenly using the length of the page array memory instead
of the depth of the page array.
This would cause MR creation to fail in some cases.
Fixes: 8376b86de7d3 ("iw_cxgb4: Support the new memory registration API")
Cc: stable@vger.kernel.org
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions