OSDN Git Service

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)
commit69cb7dc0218b2c54416722eddf181e720f24c305
tree521471fca3a62bfcd69228b4ea9224a86bf133f5
parentd6830519a9de10621651433459d2c72a7145dd25
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