RDMA/rxe: Fix inaccurate constants in rxe_type_info
authorDaisuke Matsuda <matsuda-daisuke@fujitsu.com>
Tue, 20 Dec 2022 08:08:47 +0000 (17:08 +0900)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 9 Jan 2023 14:48:16 +0000 (10:48 -0400)
commit3a73746b267e5c6a87c9ad26f8c6a48e44da609c
tree6369939154c69f4ea86df91f18d6c8a3107b2753
parentb7bfaa761d760e72a969d116517eaa12e404c262
RDMA/rxe: Fix inaccurate constants in rxe_type_info

ibv_query_device() has reported incorrect device attributes, which are
actually not used by the device. Make the constants correspond with the
attributes shown to users.

Fixes: 3ccffe8abf2f ("RDMA/rxe: Move max_elem into rxe_type_info")
Fixes: 3225717f6dfa ("RDMA/rxe: Replace red-black trees by xarrays")
Link: https://lore.kernel.org/r/20221220080848.253785-1-matsuda-daisuke@fujitsu.com
Signed-off-by: Daisuke Matsuda <matsuda-daisuke@fujitsu.com>
Reviewed-by: Li Zhijian <lizhijian@fujitsu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_pool.c