RDMA/IPoIB: Add tx timeout work to recover queue stop situation
authorJack Wang <jinpu.wang@ionos.com>
Tue, 21 Nov 2023 13:03:16 +0000 (14:03 +0100)
committerLeon Romanovsky <leon@kernel.org>
Sun, 26 Nov 2023 09:32:00 +0000 (11:32 +0200)
commit50af5d12f7e24b85fc10270d7700f4aa1b20b8e4
treeebb4a1b8a506224c61f663f8e84cbecfe1bfe461
parent753fff78f430704548f45eda52d6d55371a52c0f
RDMA/IPoIB: Add tx timeout work to recover queue stop situation

As we sometime run into TX timeout from IPoIB, queue seems stopped
and can't recover. Diff with Mellanox OFED show Mellanox driver
has timeout work to recover in such case.

Add TX timeout work/NAPI work to recover such case.

Also increase the watchdog_timeo to 10 seconds, so more tolerant to
error.

Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Link: https://lore.kernel.org/r/20231121130316.126364-3-jinpu.wang@ionos.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/ulp/ipoib/ipoib.h
drivers/infiniband/ulp/ipoib/ipoib_ib.c
drivers/infiniband/ulp/ipoib/ipoib_main.c