]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: add common buffer size in send and receive buffer descriptors
authorHans Wippel <hwippel@linux.ibm.com>
Fri, 18 May 2018 07:34:10 +0000 (09:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 May 2018 17:15:01 +0000 (13:15 -0400)
commit254be05f969fafe3c3ce7f738b123d69b9e1f8d8
tree521471fca3a62bfcd69228b4ea9224a86bf133f5
parentdfdbc9addfe5c4a03309e9066ac825bb1ff6aa2f
net/smc: add common buffer size in send and receive buffer descriptors

In addition to the buffer references, SMC currently stores the sizes of
the receive and send buffers in each connection as separate variables.
This patch introduces a buffer length variable in the common buffer
descriptor and uses this length instead.

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_cdc.c
net/smc/smc_core.c
net/smc/smc_core.h
net/smc/smc_diag.c
net/smc/smc_rx.c
net/smc/smc_tx.c
net/smc/smc_tx.h