summaryrefslogtreecommitdiff
path: root/net/rds/ib_stats.c
diff options
context:
space:
mode:
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>2015-09-06 09:18:51 +0300
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>2015-10-05 21:19:01 +0300
commitf4f943c958a2869b0601092857c1cf0e485d3ce8 (patch)
tree883a059f0bbd2473c921ef29de131c32b83c711a /net/rds/ib_stats.c
parentdb6526dcb51b054961a2d96ba43dec23e38818b3 (diff)
downloadlinux-f4f943c958a2869b0601092857c1cf0e485d3ce8.tar.xz
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>
Diffstat (limited to 'net/rds/ib_stats.c')
-rw-r--r--net/rds/ib_stats.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/rds/ib_stats.c b/net/rds/ib_stats.c
index 2d5965d6e97c..bdf6115ef6e1 100644
--- a/net/rds/ib_stats.c
+++ b/net/rds/ib_stats.c
@@ -42,14 +42,15 @@ DEFINE_PER_CPU_SHARED_ALIGNED(struct rds_ib_statistics, rds_ib_stats);
static const char *const rds_ib_stat_names[] = {
"ib_connect_raced",
"ib_listen_closed_stale",
+ "s_ib_evt_handler_call",
"ib_tx_cq_call",
+ "ib_tasklet_call",
"ib_tx_cq_event",
"ib_tx_ring_full",
"ib_tx_throttle",
"ib_tx_sg_mapping_failure",
"ib_tx_stalled",
"ib_tx_credit_updates",
- "ib_rx_cq_call",
"ib_rx_cq_event",
"ib_rx_ring_empty",
"ib_rx_refill_from_cq",