]> www.infradead.org Git - users/dwmw2/linux.git/commit
RDMA/hns: Fix wrong value of max_sge_rd
authorJunxian Huang <huangjunxian6@hisilicon.com>
Tue, 11 Mar 2025 08:48:57 +0000 (16:48 +0800)
committerLeon Romanovsky <leon@kernel.org>
Wed, 12 Mar 2025 18:35:50 +0000 (14:35 -0400)
commit6b5e41a8b51fce520bb09bd651a29ef495e990de
tree6f8107ed6e558f1aeb311be905ef62d38162decd
parenteda0a2fdbc24c35cd8d61d9c9111cafd5f89b2dc
RDMA/hns: Fix wrong value of max_sge_rd

There is no difference between the sge of READ and non-READ
operations in hns RoCE. Set max_sge_rd to the same value as
max_send_sge.

Fixes: 9a4435375cd1 ("IB/hns: Add driver files for hns RoCE driver")
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://patch.msgid.link/20250311084857.3803665-8-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/hns/hns_roce_main.c