Re: [PATCH] rds: Fix inaccurate accounting of unsignaled wrs

2017-10-26 Thread David Miller
From: Håkon Bugge 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 th

Re: [PATCH] rds: Fix inaccurate accounting of unsignaled wrs

2017-10-24 Thread Santosh Shilimkar
On 10/24/2017 9:15 AM, Håkon Bugge wrote: On 24 Oct 2017, at 18:05, Santosh Shilimkar mailto:santosh.shilim...@oracle.com>> wrote: [...] Instead of partially doing changes inside/outside helper, can also add inline helper for solicited state like rds_ib_set_wr_solicited_state() and use th

Re: [PATCH] rds: Fix inaccurate accounting of unsignaled wrs

2017-10-24 Thread Santosh Shilimkar
On 10/24/2017 7:16 AM, Håkon Bugge wrote: 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. Th

[PATCH] rds: Fix inaccurate accounting of unsignaled wrs

2017-10-24 Thread Håkon Bugge
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_