Message ID | 20240603030019.91346-3-guangguan.wang@linux.alibaba.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 2f4b101c542e102c680d136fc6dca081e3fbda4a |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net/smc: Change the upper boundary of SMC-R's snd_buf and rcv_buf to 512MB | expand |
diff --git a/net/smc/smc_core.c b/net/smc/smc_core.c index acca3b1a068f..3b95828d9976 100644 --- a/net/smc/smc_core.c +++ b/net/smc/smc_core.c @@ -2006,7 +2006,7 @@ int smc_conn_create(struct smc_sock *smc, struct smc_init_info *ini) } #define SMCD_DMBE_SIZES 6 /* 0 -> 16KB, 1 -> 32KB, .. 6 -> 1MB */ -#define SMCR_RMBE_SIZES 5 /* 0 -> 16KB, 1 -> 32KB, .. 5 -> 512KB */ +#define SMCR_RMBE_SIZES 15 /* 0 -> 16KB, 1 -> 32KB, .. 15 -> 512MB */ /* convert the RMB size into the compressed notation (minimum 16K, see * SMCD/R_DMBE_SIZES.