]> git.baikalelectronics.ru Git - kernel.git/commit
rds: Reintroduce statistics counting
authorHåkon Bugge <Haakon.Bugge@oracle.com>
Tue, 8 Aug 2017 09:13:32 +0000 (11:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Aug 2017 04:03:47 +0000 (21:03 -0700)
commitd28837f701d1d56f50c2da9ccd7d49033a788f77
treeeaad99a15c66e867b3b5f14ab9ef60700e58a31e
parent6986c92861aac97fc98eabb83ed260a20f081889
rds: Reintroduce statistics counting

In commit b0912722dbf9 ("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 3bb2aa717b13 ("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@oracle.com>
Reviewed-by: Knut Omang <knut.omang@oracle.com>
Reviewed-by: Wei Lin Guay <wei.lin.guay@oracle.com>
Reviewed-by: Shamir Rabinovitch <shamir.rabinovitch@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib_recv.c