summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorZhengchao Shao <shaozhengchao@huawei.com>2024-08-05 12:38:56 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-08-14 15:34:03 +0200
commita5cf11cb51cf1cb92a55ce58dae6f81c7474b529 (patch)
tree78282155b0c5185a404abf4c20c5208151f4049b /net
parent09e309f3962e8ef9bf103d0f0dba0c838dc88813 (diff)
downloadlinux-a5cf11cb51cf1cb92a55ce58dae6f81c7474b529.tar.gz
linux-a5cf11cb51cf1cb92a55ce58dae6f81c7474b529.tar.bz2
linux-a5cf11cb51cf1cb92a55ce58dae6f81c7474b529.zip
net/smc: add the max value of fallback reason count
[ Upstream commit d27a835f41d947f62e6a95e89ba523299c9e6437 ] The number of fallback reasons defined in the smc_clc.h file has reached 36. For historical reasons, some are no longer quoted, and there's 33 actually in use. So, add the max value of fallback reason count to 36. Fixes: 6ac1e6563f59 ("net/smc: support smc v2.x features validate") Fixes: 7f0620b9940b ("net/smc: support max connections per lgr negotiation") Fixes: 69b888e3bb4b ("net/smc: support max links per lgr negotiation in clc handshake") Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com> Reviewed-by: Wenjia Zhang <wenjia@linux.ibm.com> Reviewed-by: D. Wythe <alibuda@linux.alibaba.com> Link: https://patch.msgid.link/20240805043856.565677-1-shaozhengchao@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net')
-rw-r--r--net/smc/smc_stats.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/smc/smc_stats.h b/net/smc/smc_stats.h
index 9d32058db2b5..e19177ce4092 100644
--- a/net/smc/smc_stats.h
+++ b/net/smc/smc_stats.h
@@ -19,7 +19,7 @@
#include "smc_clc.h"
-#define SMC_MAX_FBACK_RSN_CNT 30
+#define SMC_MAX_FBACK_RSN_CNT 36
enum {
SMC_BUF_8K,