0001 .. SPDX-License-Identifier: GPL-2.0
0002
0003 ==========
0004 SMC Sysctl
0005 ==========
0006
0007 /proc/sys/net/smc/* Variables
0008 =============================
0009
0010 autocorking_size - INTEGER
0011 Setting SMC auto corking size:
0012 SMC auto corking is like TCP auto corking from the application's
0013 perspective of view. When applications do consecutive small
0014 write()/sendmsg() system calls, we try to coalesce these small writes
0015 as much as possible, to lower total amount of CDC and RDMA Write been
0016 sent.
0017 autocorking_size limits the maximum corked bytes that can be sent to
0018 the under device in 1 single sending. If set to 0, the SMC auto corking
0019 is disabled.
0020 Applications can still use TCP_CORK for optimal behavior when they
0021 know how/when to uncork their sockets.
0022
0023 Default: 64K
0024
0025 smcr_buf_type - INTEGER
0026 Controls which type of sndbufs and RMBs to use in later newly created
0027 SMC-R link group. Only for SMC-R.
0028
0029 Default: 0 (physically contiguous sndbufs and RMBs)
0030
0031 Possible values:
0032
0033 - 0 - Use physically contiguous buffers
0034 - 1 - Use virtually contiguous buffers
0035 - 2 - Mixed use of the two types. Try physically contiguous buffers first.
0036 If not available, use virtually contiguous buffers then.