rds: Reintroduce statistics counting
authorHåkon Bugge <[email protected]>
Tue, 8 Aug 2017 09:13:32 +0000 (11:13 +0200)
committerDavid S. Miller <[email protected]>
Wed, 9 Aug 2017 04:03:47 +0000 (21:03 -0700)
commit05bfd7dbb53a10be4a3e7aebaeec04b558198d49
treeeaad99a15c66e867b3b5f14ab9ef60700e58a31e
parent8ba60924710cde564a3905588b6219741d6356d0
rds: Reintroduce statistics counting

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 <[email protected]>
Reviewed-by: Knut Omang <[email protected]>
Reviewed-by: Wei Lin Guay <[email protected]>
Reviewed-by: Shamir Rabinovitch <[email protected]>
Acked-by: Santosh Shilimkar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/rds/ib_recv.c