Commit d27a835f authored by Zhengchao Shao's avatar Zhengchao Shao Committed by Jakub Kicinski

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: 6ac1e656 ("net/smc: support smc v2.x features validate")
Fixes: 7f0620b9 ("net/smc: support max connections per lgr negotiation")
Fixes: 69b888e3 ("net/smc: support max links per lgr negotiation in clc handshake")
Signed-off-by: default avatarZhengchao Shao <shaozhengchao@huawei.com>
Reviewed-by: default avatarWenjia Zhang <wenjia@linux.ibm.com>
Reviewed-by: default avatarD. Wythe <alibuda@linux.alibaba.com>
Link: https://patch.msgid.link/20240805043856.565677-1-shaozhengchao@huawei.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 1ca645a2
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "smc_clc.h" #include "smc_clc.h"
#define SMC_MAX_FBACK_RSN_CNT 30 #define SMC_MAX_FBACK_RSN_CNT 36
enum { enum {
SMC_BUF_8K, SMC_BUF_8K,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment