diff options
author | Santosh Shilimkar <santosh.shilimkar@oracle.com> | 2016-07-10 03:31:38 +0200 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@oracle.com> | 2017-01-02 23:02:50 +0100 |
commit | 581d53c91cbf7b31415a9ed5e9a8b89d6af609b3 (patch) | |
tree | 31f25e649c2140e6e41ba10cc27706f6bd65871d /net/rds/ib.h | |
parent | RDS: RDMA: silence the use_once mr log flood (diff) | |
download | linux-581d53c91cbf7b31415a9ed5e9a8b89d6af609b3.tar.xz linux-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.h | 3 |
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 */ |