Håkon Bugge a0c0865fa0 rds: Fix inaccurate accounting of unsignaled wrs
The number of unsignaled work-requests posted to the IB send queue is
tracked by a counter in the rds_ib_connection struct. When it reaches
zero, or the caller explicitly asks for it, the send-signaled bit is
set in send_flags and the counter is reset. This is performed by the
rds_ib_set_wr_signal_state() function.

However, this function is not always used which yields inaccurate
accounting. This commit fixes this, re-factors a code bloat related to
the matter, and makes the actual parameter type to the function
consistent.

Signed-off-by: Håkon Bugge <haakon.bugge@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-26 17:35:57 +09:00
..
2017-08-28 11:30:02 -07:00
2017-08-08 21:03:47 -07:00
2009-02-26 23:39:25 -08:00
2016-03-02 14:13:17 -05:00
2009-02-26 23:39:26 -08:00
2016-12-26 21:35:39 -05:00
2017-09-07 20:07:13 -07:00
2013-03-08 00:35:44 -05:00
2016-06-18 21:34:09 -07:00
2011-07-01 16:16:19 -07:00