Skip to content

Commit d27a835

Browse files
zhengchaoshaokuba-moo
authored andcommitted
net/smc: add the max value of fallback reason count
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: 6ac1e65 ("net/smc: support smc v2.x features validate") Fixes: 7f0620b ("net/smc: support max connections per lgr negotiation") Fixes: 69b888e ("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>
1 parent 1ca645a commit d27a835

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/smc/smc_stats.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
#include "smc_clc.h"
2121

22-
#define SMC_MAX_FBACK_RSN_CNT 30
22+
#define SMC_MAX_FBACK_RSN_CNT 36
2323

2424
enum {
2525
SMC_BUF_8K,

0 commit comments

Comments
 (0)