diff options
author | Steve Wise <swise@opengridcomputing.com> | 2009-04-09 14:09:39 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-09 17:21:17 -0700 |
commit | 7b70d0336da777c00395cc7a503497c2cdabd1a8 (patch) | |
tree | 60da1fba7bdfb7d905ab0fe9b23b5289f068265f /net/rds/iw_recv.c | |
parent | d39e0602bb987133321d358d9b837d67c27b223d (diff) | |
download | linux-stable-7b70d0336da777c00395cc7a503497c2cdabd1a8.tar.gz linux-stable-7b70d0336da777c00395cc7a503497c2cdabd1a8.tar.bz2 linux-stable-7b70d0336da777c00395cc7a503497c2cdabd1a8.zip |
RDS/IW+IB: Allow max credit advertise window.
Fix hack that restricts the credit advertisement to 127.
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/iw_recv.c')
-rw-r--r-- | net/rds/iw_recv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/iw_recv.c b/net/rds/iw_recv.c index fde470fa50d5..8683f5f66c4b 100644 --- a/net/rds/iw_recv.c +++ b/net/rds/iw_recv.c @@ -524,7 +524,7 @@ void rds_iw_attempt_ack(struct rds_iw_connection *ic) } /* Can we get a send credit? */ - if (!rds_iw_send_grab_credits(ic, 1, &adv_credits, 0)) { + if (!rds_iw_send_grab_credits(ic, 1, &adv_credits, 0, RDS_MAX_ADV_CREDIT)) { rds_iw_stats_inc(s_iw_tx_throttle); clear_bit(IB_ACK_IN_FLIGHT, &ic->i_ack_flags); return; |