diff options
author | Håkon Bugge <Haakon.Bugge@oracle.com> | 2017-10-24 16:16:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-26 17:35:57 +0900 |
commit | a0c0865fa0abcbc142c11fabec3a2bffc1a4229d (patch) | |
tree | c48c024b1e3e49dfc0866a1299e73d2bb5ab8327 /net/ipv4/tcp_ipv4.c | |
parent | e9a0b99804ff662d02b78a556a84e22308066fe1 (diff) | |
download | linux-a0c0865fa0abcbc142c11fabec3a2bffc1a4229d.tar.bz2 |
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>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions