diff options
author | Daisuke Matsuda <matsuda-daisuke@fujitsu.com> | 2022-12-20 11:08:48 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2023-01-09 17:48:16 +0300 |
commit | 1aefe5c177c1922119afb4ee443ddd6ac3140b37 (patch) | |
tree | d1ad4293330ebec47454a8c6b7f0d6f2582dee01 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3a73746b267e5c6a87c9ad26f8c6a48e44da609c (diff) | |
download | linux-1aefe5c177c1922119afb4ee443ddd6ac3140b37.tar.xz |
RDMA/rxe: Prevent faulty rkey generation
If you create MRs more than 0x10000 times after loading the module,
responder starts to reply NAKs for RDMA/Atomic operations because of rkey
violation detected in check_rkey(). The root cause is that rkeys are
incremented each time a new MR is created and the value overflows into the
range reserved for MWs.
This commit also increases the value of RXE_MAX_MW that has been limited
unlike other parameters.
Fixes: 0994a1bcd5f7 ("RDMA/rxe: Bump up default maximum values used via uverbs")
Link: https://lore.kernel.org/r/20221220080848.253785-2-matsuda-daisuke@fujitsu.com
Signed-off-by: Daisuke Matsuda <matsuda-daisuke@fujitsu.com>
Tested-by: Li Zhijian <lizhijian@fujitsu.com>
Reviewed-by: Li Zhijian <lizhijian@fujitsu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions