]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
RDMA/rtrs: Change MAX_SESS_QUEUE_DEPTH
authorGioh Kim <gi-oh.kim@cloud.ionos.com>
Fri, 28 May 2021 11:30:03 +0000 (13:30 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 20 Sep 2021 13:38:48 +0000 (15:38 +0200)
commit8989c36171db75524ea47901bc5f4686b1883ae1
treea737f0194d53a3f637c51ad9db07965c6f342164
parente5097fb91d8c46037a10772f32d1d9e10cbefe9a
RDMA/rtrs: Change MAX_SESS_QUEUE_DEPTH

BugLink: https://bugs.launchpad.net/bugs/1939450
[ Upstream commit 3a98ea7041b7d18ac356da64823c2ba2f8391b3e ]

Max IB immediate data size is 2^28 (MAX_IMM_PAYL_BITS)
and the minimum chunk size is 4096 (2^12).
Therefore the maximum sess_queue_depth is 65536 (2^16).

Link: https://lore.kernel.org/r/20210528113018.52290-6-jinpu.wang@ionos.com
Signed-off-by: Gioh Kim <gi-oh.kim@ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/infiniband/ulp/rtrs/rtrs-pri.h