diff options
author | Ursula Braun <ursula.braun@de.ibm.com> | 2018-06-28 20:05:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-30 14:42:25 +0300 |
commit | e82f2e31f5597a3de44bd27b7427f577f637c552 (patch) | |
tree | c9926ddd6e37961804a2ee7e9966ddeb5281d4e7 /net/smc/smc_diag.c | |
parent | 0afff91c6f5ecef27715ea71e34dc2baacba1060 (diff) | |
download | linux-e82f2e31f5597a3de44bd27b7427f577f637c552.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_diag.c')
0 files changed, 0 insertions, 0 deletions