diff options
author | Artemy Kovalyov <[email protected]> | 2020-01-28 15:56:12 +0200 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2020-01-28 14:10:54 -0400 |
commit | 36798d5ae1af62e830c5e045b2e41ce038690c61 (patch) | |
tree | 04f0a41e186ad0386435f2a53039ceb8cff3c99d /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | ea660ad7c1c476fd6e5e3b17780d47159db71dea (diff) |
RDMA/umem: Fix ib_umem_find_best_pgsz()
Except for the last entry, the ending iova alignment sets the maximum
possible page size as the low bits of the iova must be zero when starting
the next chunk.
Fixes: 4a35339958f1 ("RDMA/umem: Add API to find best driver supported page size in an MR")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Artemy Kovalyov <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Tested-by: Gal Pressman <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions