diff options
author | Ursula Braun <ubraun@linux.vnet.ibm.com> | 2017-01-09 16:55:20 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-09 16:07:39 -0500 |
commit | bd4ad57718cc86d2972a20f9791cd079996a4dd6 (patch) | |
tree | 8dd6f3960a397907d58b335f4b0d024a57258665 /net/smc/smc.h | |
parent | f38ba179c6ca94ebeb0ac6a0956c4ea533151ad8 (diff) | |
download | linux-bd4ad57718cc86d2972a20f9791cd079996a4dd6.tar.gz linux-bd4ad57718cc86d2972a20f9791cd079996a4dd6.tar.bz2 linux-bd4ad57718cc86d2972a20f9791cd079996a4dd6.zip |
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.h | 1 |
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 */ |