Re: [PATCH net] rds: Reintroduce statistics counting

From: Santosh Shilimkar
Date: Tue Aug 08 2017 - 12:41:24 EST


On 8/8/2017 2:13 AM, HÃkon Bugge wrote:
In commit 7e3f2952eeb1 ("rds: don't let RDS shutdown a connection
while senders are present"), refilling the receive queue was removed
from rds_ib_recv(), along with the increment of
s_ib_rx_refill_from_thread.

Commit 73ce4317bf98 ("RDS: make sure we post recv buffers")
re-introduces filling the receive queue from rds_ib_recv(), but does
not add the statistics counter. rds_ib_recv() was later renamed to
rds_ib_recv_path().

This commit reintroduces the statistics counting of
s_ib_rx_refill_from_thread and s_ib_rx_refill_from_cq.

Signed-off-by: HÃkon Bugge <haakon.bugge@xxxxxxxxxx>
Reviewed-by: Knut Omang <knut.omang@xxxxxxxxxx>
Reviewed-by: Wei Lin Guay <wei.lin.guay@xxxxxxxxxx>
---
Looks fine.
Acked-by: Santosh Shilimkar <santosh.shilimkar@xxxxxxxxxx>