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>
This commit is contained in:
Santosh Shilimkar
2016-07-09 18:31:38 -07:00
parent c536a06887
commit 581d53c91c
2 changed files with 10 additions and 4 deletions

View File

@@ -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 */