diff options
Diffstat (limited to 'net/rds/rds.h')
-rw-r--r-- | net/rds/rds.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/net/rds/rds.h b/net/rds/rds.h index dbe111236783..85d6f897ecc7 100644 --- a/net/rds/rds.h +++ b/net/rds/rds.h | |||
@@ -311,11 +311,17 @@ struct rds_notifier { | |||
311 | * flag and header. | 311 | * flag and header. |
312 | */ | 312 | */ |
313 | 313 | ||
314 | #define RDS_TRANS_IB 0 | ||
315 | #define RDS_TRANS_IWARP 1 | ||
316 | #define RDS_TRANS_TCP 2 | ||
317 | #define RDS_TRANS_COUNT 3 | ||
318 | |||
314 | struct rds_transport { | 319 | struct rds_transport { |
315 | char t_name[TRANSNAMSIZ]; | 320 | char t_name[TRANSNAMSIZ]; |
316 | struct list_head t_item; | 321 | struct list_head t_item; |
317 | struct module *t_owner; | 322 | struct module *t_owner; |
318 | unsigned int t_prefer_loopback:1; | 323 | unsigned int t_prefer_loopback:1; |
324 | unsigned int t_type; | ||
319 | 325 | ||
320 | int (*laddr_check)(__be32 addr); | 326 | int (*laddr_check)(__be32 addr); |
321 | int (*conn_alloc)(struct rds_connection *conn, gfp_t gfp); | 327 | int (*conn_alloc)(struct rds_connection *conn, gfp_t gfp); |
@@ -652,7 +658,8 @@ DECLARE_PER_CPU_SHARED_ALIGNED(struct rds_statistics, rds_stats); | |||
652 | int __init rds_stats_init(void); | 658 | int __init rds_stats_init(void); |
653 | void rds_stats_exit(void); | 659 | void rds_stats_exit(void); |
654 | void rds_stats_info_copy(struct rds_info_iterator *iter, | 660 | void rds_stats_info_copy(struct rds_info_iterator *iter, |
655 | uint64_t *values, char **names, size_t nr); | 661 | uint64_t *values, const char *const *names, |
662 | size_t nr); | ||
656 | 663 | ||
657 | /* sysctl.c */ | 664 | /* sysctl.c */ |
658 | int __init rds_sysctl_init(void); | 665 | int __init rds_sysctl_init(void); |