]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net/smc: calculate write offset in RMB only once per connection
authorHans Wippel <hwippel@linux.ibm.com>
Fri, 18 May 2018 07:34:13 +0000 (09:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 May 2018 17:15:01 +0000 (13:15 -0400)
commit95d8d26306ee19f9ba32b6381571a72ee924a0b6
tree68647ffb7b30a9f8ccf9e04545155235aad5e1ee
parent92a138e333ead89918db5f72e573264cb3b91cb5
net/smc: calculate write offset in RMB only once per connection

Currently, the write offset within the RMB is calculated on each write
operation although it is fixed for each connection. With this patch, the
offset is calculated once and stored in a connection specific variable.

Signed-off-by: Hans Wippel <hwippel@linux.ibm.com>
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.h
net/smc/smc_tx.c