summaryrefslogtreecommitdiff
path: root/net/smc/smc.h
diff options
context:
space:
mode:
authorUrsula Braun <ubraun@linux.vnet.ibm.com>2017-01-09 18:55:20 +0300
committerDavid S. Miller <davem@davemloft.net>2017-01-10 00:07:39 +0300
commitbd4ad57718cc86d2972a20f9791cd079996a4dd6 (patch)
tree8dd6f3960a397907d58b335f4b0d024a57258665 /net/smc/smc.h
parentf38ba179c6ca94ebeb0ac6a0956c4ea533151ad8 (diff)
downloadlinux-bd4ad57718cc86d2972a20f9791cd079996a4dd6.tar.xz
smc: initialize IB transport incl. PD, MR, QP, CQ, event, WR
Prepare the link for RDMA transport: Create a queue pair (QP) and move it into the state Ready-To-Receive (RTR). Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc.h')
-rw-r--r--net/smc/smc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/smc/smc.h b/net/smc/smc.h
index 209a0b5f59cb..4d2e54d176f2 100644
--- a/net/smc/smc.h
+++ b/net/smc/smc.h
@@ -43,6 +43,7 @@ struct smc_connection {
atomic_t peer_rmbe_space;/* remaining free bytes in peer
* rmbe
*/
+ int rtoken_idx; /* idx to peer RMB rkey/addr */
struct smc_buf_desc *sndbuf_desc; /* send buffer descriptor */
int sndbuf_size; /* sndbuf size <== sock wmem */