]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit27249e023e23e88b57d46ff4b92cbd3ebb14a82d
tree883a059f0bbd2473c921ef29de131c32b83c711a
parent83a738e4965e049e2c195e8620c73cdc5467862e
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