RDS: IB: ack more receive completions to improve performance
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Sun, 6 Sep 2015 06:18:51 +0000 (02:18 -0400)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 5 Oct 2015 18:19:01 +0000 (11:19 -0700)
commitf4f943c958a2869b0601092857c1cf0e485d3ce8
tree883a059f0bbd2473c921ef29de131c32b83c711a
parentdb6526dcb51b054961a2d96ba43dec23e38818b3
RDS: IB: ack more receive completions to improve performance

For better performance, we split the receive completion IRQ handler. That
lets us acknowledge several WCE events in one call. We also limit the WC
to max 32 to avoid latency. Acknowledging several completions in one call
instead of several calls each time will provide better performance since
less mutual exclusion locks are being performed.

In next patch, send completion is also split which re-uses the poll_cq()
and hence the code is moved to ib_cm.c

Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
net/rds/ib.h
net/rds/ib_cm.c
net/rds/ib_recv.c
net/rds/ib_stats.c