summaryrefslogtreecommitdiff
path: root/net/smc/smc_clc.c
diff options
context:
space:
mode:
authorUrsula Braun <ursula.braun@linux.ibm.com>2018-07-18 16:22:49 +0300
committerDavid S. Miller <davem@davemloft.net>2018-07-18 20:58:27 +0300
commit99be51f11d51400f744632f3938445a8d4de8943 (patch)
tree0424d44df4eb59b5c47ed9dbfda4a0623ec2a91a /net/smc/smc_clc.c
parent3bc53be9db21040b5d2de4d455f023c8c494aa68 (diff)
downloadlinux-99be51f11d51400f744632f3938445a8d4de8943.tar.xz
net/smc: optimize consumer cursor updates
The SMC protocol requires to send a separate consumer cursor update, if it cannot be piggybacked to updates of the producer cursor. Currently the decision to send a separate consumer cursor update just considers the amount of data already received by the socket program. It does not consider the amount of data already arrived, but not yet consumed by the receiver. Basing the decision on the difference between already confirmed and already arrived data (instead of difference between already confirmed and already consumed data), may lead to a somewhat earlier consumer cursor update send in fast unidirectional traffic scenarios, and thus to better throughput. Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Suggested-by: Thomas Richter <tmricht@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_clc.c')
0 files changed, 0 insertions, 0 deletions