[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171026.173626.1982523888757754892.davem@davemloft.net>
Date: Thu, 26 Oct 2017 17:36:26 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: Haakon.Bugge@...cle.com
Cc: santosh.shilimkar@...cle.com, netdev@...r.kernel.org,
linux-rdma@...r.kernel.org, rds-devel@....oracle.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rds: Fix inaccurate accounting of unsignaled wrs
From: Håkon Bugge <Haakon.Bugge@...cle.com>
Date: Tue, 24 Oct 2017 16:16:28 +0200
> 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@...cle.com>
Applied.
Powered by blists - more mailing lists