diff options
author | Zach Brown <zach.brown@oracle.com> | 2010-08-03 13:52:47 -0700 |
---|---|---|
committer | Andy Grover <andy.grover@oracle.com> | 2010-09-08 18:16:50 -0700 |
commit | 59f740a6aeb2cde2f79fe0df38262d4c1ef35cd8 (patch) | |
tree | e05c12cc5c8892bcca3928deb62121b1ee4cedd0 /net/rds/rds.h | |
parent | 4518071ac1bcb76c64a55a3fddb39fb3d39add41 (diff) | |
download | linux-stable-59f740a6aeb2cde2f79fe0df38262d4c1ef35cd8.tar.gz linux-stable-59f740a6aeb2cde2f79fe0df38262d4c1ef35cd8.tar.bz2 linux-stable-59f740a6aeb2cde2f79fe0df38262d4c1ef35cd8.zip |
RDS/IB: print string constants in more places
This prints the constant identifier for work completion status and rdma
cm event types, like we already do for IB event types.
A core string array helper is added that each string type uses.
Signed-off-by: Zach Brown <zach.brown@oracle.com>
Diffstat (limited to 'net/rds/rds.h')
-rw-r--r-- | net/rds/rds.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rds/rds.h b/net/rds/rds.h index aab5e949fa93..aadaddba88a7 100644 --- a/net/rds/rds.h +++ b/net/rds/rds.h @@ -566,6 +566,7 @@ struct rds_statistics { }; /* af_rds.c */ +char *rds_str_array(char **array, size_t elements, size_t index); void rds_sock_addref(struct rds_sock *rs); void rds_sock_put(struct rds_sock *rs); void rds_wake_sk_sleep(struct rds_sock *rs); |