summaryrefslogtreecommitdiffstats
path: root/lib/dim/Makefile
diff options
context:
space:
mode:
authorYamin Friedman <yaminf@mellanox.com>2019-07-08 13:59:02 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-07-08 16:37:21 -0300
commitf4915455dcf07c4f237d6160a4b6adb0575d2909 (patch)
tree7d0157771b77fd5b514e54524ba65ca95f81d2cd /lib/dim/Makefile
parent2ef38e380ea6a80fed5be21e9f7af31c02dea09e (diff)
downloadlinux-f4915455dcf07c4f237d6160a4b6adb0575d2909.tar.gz
linux-f4915455dcf07c4f237d6160a4b6adb0575d2909.tar.bz2
linux-f4915455dcf07c4f237d6160a4b6adb0575d2909.zip
linux/dim: Implement RDMA adaptive moderation (DIM)
RDMA DIM implements a different algorithm from net DIM and is based on completions which is how we can implement interrupt moderation in RDMA. The algorithm optimizes for number of completions and ratio between completions and events. In order to avoid long latencies, the implementation performs fast reduction of moderation level when the traffic changes. Signed-off-by: Yamin Friedman <yaminf@mellanox.com> Reviewed-by: Max Gurtovoy <maxg@mellanox.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'lib/dim/Makefile')
-rw-r--r--lib/dim/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/dim/Makefile b/lib/dim/Makefile
index 160afe288df0..1d6858a108cb 100644
--- a/lib/dim/Makefile
+++ b/lib/dim/Makefile
@@ -2,8 +2,6 @@
# DIM Dynamic Interrupt Moderation library
#
-obj-$(CONFIG_DIMLIB) = net_dim.o
+obj-$(CONFIG_DIMLIB) += dim.o
-net_dim-y = \
- dim.o \
- net_dim.o
+dim-y := dim.o net_dim.o rdma_dim.o