summaryrefslogtreecommitdiffstats
path: root/net/smc/smc_core.h
diff options
context:
space:
mode:
authorKarsten Graul2018-05-15 17:04:55 +0200
committerDavid S. Miller2018-05-16 17:49:19 +0200
commit44aa81ce953aadd683765e6416ad53cc61d0624a (patch)
tree143f1e7d085f8d87e3100fd4d37887af87ab1ddc /net/smc/smc_core.h
parentnet/smc: no tx work trigger for fallback sockets (diff)
downloadkernel-qcow2-linux-44aa81ce953aadd683765e6416ad53cc61d0624a.tar.gz
kernel-qcow2-linux-44aa81ce953aadd683765e6416ad53cc61d0624a.tar.xz
kernel-qcow2-linux-44aa81ce953aadd683765e6416ad53cc61d0624a.zip
net/smc: register new rmbs with the peer
Register new rmb buffers with the remote peer by exchanging a confirm_rkey llc message. Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_core.h')
-rw-r--r--net/smc/smc_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/smc/smc_core.h b/net/smc/smc_core.h
index fca8624e5e71..9398e235d74b 100644
--- a/net/smc/smc_core.h
+++ b/net/smc/smc_core.h
@@ -105,6 +105,8 @@ struct smc_link {
struct delayed_work llc_testlink_wrk; /* testlink worker */
struct completion llc_testlink_resp; /* wait for rx of testlink */
int llc_testlink_time; /* testlink interval */
+ struct completion llc_confirm_rkey; /* wait 4 rx of cnf rkey */
+ int llc_confirm_rkey_rc; /* rc from cnf rkey msg */
};
/* For now we just allow one parallel link per link group. The SMC protocol