diff options
Diffstat (limited to 'net/rds/iw.h')
-rw-r--r-- | net/rds/iw.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/net/rds/iw.h b/net/rds/iw.h index eef2f0c2847..90151922178 100644 --- a/net/rds/iw.h +++ b/net/rds/iw.h | |||
@@ -70,7 +70,7 @@ struct rds_iw_send_work { | |||
70 | struct rds_message *s_rm; | 70 | struct rds_message *s_rm; |
71 | 71 | ||
72 | /* We should really put these into a union: */ | 72 | /* We should really put these into a union: */ |
73 | struct rds_rdma_op *s_op; | 73 | struct rm_rdma_op *s_op; |
74 | struct rds_iw_mapping *s_mapping; | 74 | struct rds_iw_mapping *s_mapping; |
75 | struct ib_mr *s_mr; | 75 | struct ib_mr *s_mr; |
76 | struct ib_fast_reg_page_list *s_page_list; | 76 | struct ib_fast_reg_page_list *s_page_list; |
@@ -268,8 +268,6 @@ static inline u32 rds_iw_local_dma_lkey(struct rds_iw_connection *ic) | |||
268 | 268 | ||
269 | /* ib.c */ | 269 | /* ib.c */ |
270 | extern struct rds_transport rds_iw_transport; | 270 | extern struct rds_transport rds_iw_transport; |
271 | extern void rds_iw_add_one(struct ib_device *device); | ||
272 | extern void rds_iw_remove_one(struct ib_device *device); | ||
273 | extern struct ib_client rds_iw_client; | 271 | extern struct ib_client rds_iw_client; |
274 | 272 | ||
275 | extern unsigned int fastreg_pool_size; | 273 | extern unsigned int fastreg_pool_size; |
@@ -284,7 +282,7 @@ void rds_iw_conn_free(void *arg); | |||
284 | int rds_iw_conn_connect(struct rds_connection *conn); | 282 | int rds_iw_conn_connect(struct rds_connection *conn); |
285 | void rds_iw_conn_shutdown(struct rds_connection *conn); | 283 | void rds_iw_conn_shutdown(struct rds_connection *conn); |
286 | void rds_iw_state_change(struct sock *sk); | 284 | void rds_iw_state_change(struct sock *sk); |
287 | int __init rds_iw_listen_init(void); | 285 | int rds_iw_listen_init(void); |
288 | void rds_iw_listen_stop(void); | 286 | void rds_iw_listen_stop(void); |
289 | void __rds_iw_conn_error(struct rds_connection *conn, const char *, ...); | 287 | void __rds_iw_conn_error(struct rds_connection *conn, const char *, ...); |
290 | int rds_iw_cm_handle_connect(struct rdma_cm_id *cm_id, | 288 | int rds_iw_cm_handle_connect(struct rdma_cm_id *cm_id, |
@@ -318,15 +316,13 @@ void *rds_iw_get_mr(struct scatterlist *sg, unsigned long nents, | |||
318 | void rds_iw_sync_mr(void *trans_private, int dir); | 316 | void rds_iw_sync_mr(void *trans_private, int dir); |
319 | void rds_iw_free_mr(void *trans_private, int invalidate); | 317 | void rds_iw_free_mr(void *trans_private, int invalidate); |
320 | void rds_iw_flush_mrs(void); | 318 | void rds_iw_flush_mrs(void); |
321 | void rds_iw_remove_cm_id(struct rds_iw_device *rds_iwdev, struct rdma_cm_id *cm_id); | ||
322 | 319 | ||
323 | /* ib_recv.c */ | 320 | /* ib_recv.c */ |
324 | int __init rds_iw_recv_init(void); | 321 | int rds_iw_recv_init(void); |
325 | void rds_iw_recv_exit(void); | 322 | void rds_iw_recv_exit(void); |
326 | int rds_iw_recv(struct rds_connection *conn); | 323 | int rds_iw_recv(struct rds_connection *conn); |
327 | int rds_iw_recv_refill(struct rds_connection *conn, gfp_t kptr_gfp, | 324 | int rds_iw_recv_refill(struct rds_connection *conn, gfp_t kptr_gfp, |
328 | gfp_t page_gfp, int prefill); | 325 | gfp_t page_gfp, int prefill); |
329 | void rds_iw_inc_purge(struct rds_incoming *inc); | ||
330 | void rds_iw_inc_free(struct rds_incoming *inc); | 326 | void rds_iw_inc_free(struct rds_incoming *inc); |
331 | int rds_iw_inc_copy_to_user(struct rds_incoming *inc, struct iovec *iov, | 327 | int rds_iw_inc_copy_to_user(struct rds_incoming *inc, struct iovec *iov, |
332 | size_t size); | 328 | size_t size); |
@@ -358,7 +354,7 @@ int rds_iw_xmit(struct rds_connection *conn, struct rds_message *rm, | |||
358 | void rds_iw_send_cq_comp_handler(struct ib_cq *cq, void *context); | 354 | void rds_iw_send_cq_comp_handler(struct ib_cq *cq, void *context); |
359 | void rds_iw_send_init_ring(struct rds_iw_connection *ic); | 355 | void rds_iw_send_init_ring(struct rds_iw_connection *ic); |
360 | void rds_iw_send_clear_ring(struct rds_iw_connection *ic); | 356 | void rds_iw_send_clear_ring(struct rds_iw_connection *ic); |
361 | int rds_iw_xmit_rdma(struct rds_connection *conn, struct rds_rdma_op *op); | 357 | int rds_iw_xmit_rdma(struct rds_connection *conn, struct rm_rdma_op *op); |
362 | void rds_iw_send_add_credits(struct rds_connection *conn, unsigned int credits); | 358 | void rds_iw_send_add_credits(struct rds_connection *conn, unsigned int credits); |
363 | void rds_iw_advertise_credits(struct rds_connection *conn, unsigned int posted); | 359 | void rds_iw_advertise_credits(struct rds_connection *conn, unsigned int posted); |
364 | int rds_iw_send_grab_credits(struct rds_iw_connection *ic, u32 wanted, | 360 | int rds_iw_send_grab_credits(struct rds_iw_connection *ic, u32 wanted, |
@@ -371,7 +367,7 @@ unsigned int rds_iw_stats_info_copy(struct rds_info_iterator *iter, | |||
371 | unsigned int avail); | 367 | unsigned int avail); |
372 | 368 | ||
373 | /* ib_sysctl.c */ | 369 | /* ib_sysctl.c */ |
374 | int __init rds_iw_sysctl_init(void); | 370 | int rds_iw_sysctl_init(void); |
375 | void rds_iw_sysctl_exit(void); | 371 | void rds_iw_sysctl_exit(void); |
376 | extern unsigned long rds_iw_sysctl_max_send_wr; | 372 | extern unsigned long rds_iw_sysctl_max_send_wr; |
377 | extern unsigned long rds_iw_sysctl_max_recv_wr; | 373 | extern unsigned long rds_iw_sysctl_max_recv_wr; |
@@ -379,7 +375,6 @@ extern unsigned long rds_iw_sysctl_max_unsig_wrs; | |||
379 | extern unsigned long rds_iw_sysctl_max_unsig_bytes; | 375 | extern unsigned long rds_iw_sysctl_max_unsig_bytes; |
380 | extern unsigned long rds_iw_sysctl_max_recv_allocation; | 376 | extern unsigned long rds_iw_sysctl_max_recv_allocation; |
381 | extern unsigned int rds_iw_sysctl_flow_control; | 377 | extern unsigned int rds_iw_sysctl_flow_control; |
382 | extern ctl_table rds_iw_sysctl_table[]; | ||
383 | 378 | ||
384 | /* | 379 | /* |
385 | * Helper functions for getting/setting the header and data SGEs in | 380 | * Helper functions for getting/setting the header and data SGEs in |