diff options
author | Andy Grover <andy.grover@oracle.com> | 2010-03-22 18:22:04 -0400 |
---|---|---|
committer | Andy Grover <andy.grover@oracle.com> | 2010-09-08 21:12:10 -0400 |
commit | 77dd550e5547846604ff6f90c4dc6bba4414e485 (patch) | |
tree | ea37afea7f0d857e01f214f703018426f6d8b920 /net/rds/rds.h | |
parent | e32b4a70495aac6a612e13f4c21db09dd756ff2c (diff) |
RDS: Stop supporting old cong map sending method
We now ask the transport to give us a rm for the congestion
map, and then we handle it normally. Previously, the
transport defined a function that we would call to send
a congestion map.
Convert TCP and loop transports to new cong map method.
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Diffstat (limited to 'net/rds/rds.h')
-rw-r--r-- | net/rds/rds.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/rds/rds.h b/net/rds/rds.h index 7291f006f364..e81d7e478474 100644 --- a/net/rds/rds.h +++ b/net/rds/rds.h | |||
@@ -393,10 +393,6 @@ struct rds_notifier { | |||
393 | * transport is responsible for other serialization, including | 393 | * transport is responsible for other serialization, including |
394 | * rds_recv_incoming(). This is called in process context but | 394 | * rds_recv_incoming(). This is called in process context but |
395 | * should try hard not to block. | 395 | * should try hard not to block. |
396 | * | ||
397 | * @xmit_cong_map: This asks the transport to send the local bitmap down the | ||
398 | * given connection. XXX get a better story about the bitmap | ||
399 | * flag and header. | ||
400 | */ | 396 | */ |
401 | 397 | ||
402 | #define RDS_TRANS_IB 0 | 398 | #define RDS_TRANS_IB 0 |
@@ -420,8 +416,6 @@ struct rds_transport { | |||
420 | void (*xmit_complete)(struct rds_connection *conn); | 416 | void (*xmit_complete)(struct rds_connection *conn); |
421 | int (*xmit)(struct rds_connection *conn, struct rds_message *rm, | 417 | int (*xmit)(struct rds_connection *conn, struct rds_message *rm, |
422 | unsigned int hdr_off, unsigned int sg, unsigned int off); | 418 | unsigned int hdr_off, unsigned int sg, unsigned int off); |
423 | int (*xmit_cong_map)(struct rds_connection *conn, | ||
424 | struct rds_cong_map *map, unsigned long offset); | ||
425 | int (*xmit_rdma)(struct rds_connection *conn, struct rm_rdma_op *op); | 419 | int (*xmit_rdma)(struct rds_connection *conn, struct rm_rdma_op *op); |
426 | int (*xmit_atomic)(struct rds_connection *conn, struct rm_atomic_op *op); | 420 | int (*xmit_atomic)(struct rds_connection *conn, struct rm_atomic_op *op); |
427 | int (*recv)(struct rds_connection *conn); | 421 | int (*recv)(struct rds_connection *conn); |