]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
RDMA/rtrs: Reset hb_missed_cnt after receiving other traffic from peer
authorJack Wang <jinpu.wang@ionos.com>
Wed, 21 Aug 2024 11:22:10 +0000 (13:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:29:31 +0000 (16:29 +0200)
commiteffc10f00cf85fed8b96b89a57b252fc3ac7236c
tree2c503e39269e1862b1e63e898719d1ba91d34bf0
parentc6b9f971b43980de8893610f606d751131fb5d86
RDMA/rtrs: Reset hb_missed_cnt after receiving other traffic from peer

[ Upstream commit 3258cbbd86deaa2675e1799bc3d18bd1ef472641 ]

Reset hb_missed_cnt after receiving traffic from other peer, so
hb is more robust again high load on host or network.

Fixes: 6a98d71daea1 ("RDMA/rtrs: client: main functionality")
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Md Haris Iqbal <haris.iqbal@ionos.com>
Signed-off-by: Grzegorz Prajsner <grzegorz.prajsner@ionos.com>
Link: https://patch.msgid.link/20240821112217.41827-5-haris.iqbal@ionos.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/ulp/rtrs/rtrs-clt.c
drivers/infiniband/ulp/rtrs/rtrs-srv.c