Loading
RDMA/hns: Fix insufficient extend DB for VFs.
mainline inclusion from mainline-v6.10-rc7 commit 0b8e658f70ffd5dc7cda3872fd524d657d4796b7 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IADZY7 CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/commit/?id=0b8e658f70ffd5dc7cda3872fd524d657d4796b7 --------------------------------------------------------------------- VFs and its PF will share the memory of the extend DB. Currently, the number of extend DB allocated by driver is only enough for PF. This leads to a probability of DB loss and some other problems in scenarios where both PF and VFs use a large number of QPs. Fixes: 6b63597d ("RDMA/hns: Add TSQ link table support") Signed-off-by:Chengchang Tang <tangchengchang@huawei.com> Signed-off-by:
Junxian Huang <huangjunxian6@hisilicon.com> Link: https://lore.kernel.org/r/20240710133705.896445-8-huangjunxian6@hisilicon.com Signed-off-by:
Leon Romanovsky <leon@kernel.org> Signed-off-by:
Xinghai Cen <cenxinghai@h-partners.com>