net/smc: sockopts TCP_NODELAY and TCP_CORK
authorUrsula Braun <ubraun@linux.ibm.com>
Thu, 26 Apr 2018 15:18:22 +0000 (17:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Apr 2018 18:02:52 +0000 (14:02 -0400)
commit01d2f7e2cdd31becffafa0cb82809a5e36558ec0
tree5df8e8f6838478e51efe14206d17a522cda03ed5
parentee9dfbef02d186a90f3a4876b276701966a92d10
net/smc: sockopts TCP_NODELAY and TCP_CORK

Setting sockopt TCP_NODELAY or resetting sockopt TCP_CORK
triggers data transfer.

For a corked SMC socket RDMA writes are deferred, if there is
still sufficient send buffer space available.

Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/af_smc.c
net/smc/smc_tx.c