]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDMA/bnxt_re: Fix the condition check while programming congestion control
authorSelvin Xavier <selvin.xavier@broadcom.com>
Sat, 8 Feb 2025 13:48:26 +0000 (05:48 -0800)
committerLeon Romanovsky <leon@kernel.org>
Sun, 9 Feb 2025 09:59:05 +0000 (04:59 -0500)
commitf26e648a978ae7958e0958095768363c851a736d
treee37ab924728cd8077fd89f1e7d7dfc9b75c6dc47
parentdbc641ecf1cbd41a649e7ac6ea7175562ef599b2
RDMA/bnxt_re: Fix the condition check while programming congestion control

Program the Congestion control values when the CC gen matches.
Fix the condition check for the same.

Fixes: 656dff55da19 ("RDMA/bnxt_re: Congestion control settings using debugfs hook")
Reported-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reported-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://patch.msgid.link/1739022506-8937-1-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/bnxt_re/debugfs.c