aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/ib.h
diff options
context:
space:
mode:
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>2016-07-09 18:31:38 -0700
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>2017-01-02 14:02:50 -0800
commit581d53c91cbf7b31415a9ed5e9a8b89d6af609b3 (patch)
tree31f25e649c2140e6e41ba10cc27706f6bd65871d /net/rds/ib.h
parentRDS: RDMA: silence the use_once mr log flood (diff)
downloadlinux-dev-581d53c91cbf7b31415a9ed5e9a8b89d6af609b3.tar.xz
linux-dev-581d53c91cbf7b31415a9ed5e9a8b89d6af609b3.zip
RDS: IB: track and log active side endpoint in connection
Useful to know the active and passive end points in a RDS IB connection. Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'net/rds/ib.h')
-rw-r--r--net/rds/ib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/rds/ib.h b/net/rds/ib.h
index f14c26d22b27..5f02b4d8f10c 100644
--- a/net/rds/ib.h
+++ b/net/rds/ib.h
@@ -181,6 +181,9 @@ struct rds_ib_connection {
/* Batched completions */
unsigned int i_unsignaled_wrs;
+
+ /* Endpoint role in connection */
+ bool i_active_side;
};
/* This assumes that atomic_t is at least 32 bits */