]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDMA/hns: Fix dip entries leak on devices newer than hip09
authorJunxian Huang <huangjunxian6@hisilicon.com>
Tue, 12 Aug 2025 12:26:02 +0000 (20:26 +0800)
committerLeon Romanovsky <leon@kernel.org>
Wed, 13 Aug 2025 11:22:18 +0000 (07:22 -0400)
commitfa2e2d31ee3b7212079323b4b09201ef68af3a97
tree26569048d9b602573b1a5411e3a0db9297f43366
parent111aea0464c20f3eb25a48d5ff6c036e6b416123
RDMA/hns: Fix dip entries leak on devices newer than hip09

DIP algorithm is also supported on devices newer than hip09, so free
dip entries too.

Fixes: f91696f2f053 ("RDMA/hns: Support congestion control type selection according to the FW")
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://patch.msgid.link/20250812122602.3524602-1-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c