Loading
RDMA/hns: Support adaptive PBL hopnum
maillist inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I91AFK CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2eb999b3d40ff825121784ec38dd5ab0abb7b606 ---------------------------------------------------------------------- In the current implementation, a fixed addressing level is used for PBL. But in fact, the necessary addressing level is related to page size and the size of MR. This patch calculates the addressing level according to page size and the size of MR, and uses the addressing level to configure the PBL. Signed-off-by:Chengchang Tang <tangchengchang@huawei.com> Signed-off-by:
Junxian Huang <huangjunxian6@hisilicon.com> Link: https://lore.kernel.org/r/20240113085935.2838701-6-huangjunxian6@hisilicon.com Signed-off-by:
Leon Romanovsky <leon@kernel.org> Signed-off-by:
Juan Zhou <zhoujuan51@h-partners.com>