RDS/IW+IB: Set the RDS_LL_SEND_FULL bit when we're throttled.
authorSteve Wise <swise@opengridcomputing.com>
Thu, 9 Apr 2009 14:09:38 +0000 (14:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Apr 2009 00:21:16 +0000 (17:21 -0700)
commitd39e0602bb987133321d358d9b837d67c27b223d
tree0353b7c1fd6b9b5672c5d4b74e1935428822a47a
parent11bc9421da3040c71fc96da1a31e95217e8cf2af
RDS/IW+IB: Set the RDS_LL_SEND_FULL bit when we're throttled.

The RDS_LL_SEND_FULL bit should be set when we stop transmitted due to
flow control.  Otherwise the send worker will keep trying as opposed to
sleeping until we unthrottle.  Saves CPU.

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>
net/rds/ib_send.c
net/rds/iw_send.c