summaryrefslogtreecommitdiffstats
path: root/lib/dim/Makefile
diff options
context:
space:
mode:
authorTal Gilboa <talgi@mellanox.com>2019-01-10 17:33:17 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2019-06-25 13:46:39 -0700
commit4f75da3666c0c572967729a2401ac650be5581b6 (patch)
treed050bfc18a162cd7fc85703e473d298e2a042f8d /lib/dim/Makefile
parent8960b38932bee8db0bc9c4d8c135f21df6cdd297 (diff)
downloadlinux-4f75da3666c0c572967729a2401ac650be5581b6.tar.gz
linux-4f75da3666c0c572967729a2401ac650be5581b6.tar.bz2
linux-4f75da3666c0c572967729a2401ac650be5581b6.zip
linux/dim: Move implementation to .c files
Moved all logic from dim.h and net_dim.h to dim.c and net_dim.c. This is both more structurally appealing and would allow to only expose externally used functions. Signed-off-by: Tal Gilboa <talgi@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'lib/dim/Makefile')
-rw-r--r--lib/dim/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/dim/Makefile b/lib/dim/Makefile
new file mode 100644
index 000000000000..160afe288df0
--- /dev/null
+++ b/lib/dim/Makefile
@@ -0,0 +1,9 @@
+#
+# DIM Dynamic Interrupt Moderation library
+#
+
+obj-$(CONFIG_DIMLIB) = net_dim.o
+
+net_dim-y = \
+ dim.o \
+ net_dim.o