diff options
author | Heng Qi <hengqi@linux.alibaba.com> | 2024-06-21 12:13:50 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-06-26 02:15:06 +0200 |
commit | b65e697a7c9e0ae28a6255257d8b9b3271960426 (patch) | |
tree | 51f7f96abc033ee9d96d3b33edb8ce78023dfd38 /lib | |
parent | linux/dim: move useful macros to .h file (diff) | |
download | linux-b65e697a7c9e0ae28a6255257d8b9b3271960426.tar.xz linux-b65e697a7c9e0ae28a6255257d8b9b3271960426.zip |
dim: make DIMLIB dependent on NET
DIMLIB's capabilities are supplied by the dim, net_dim, and
rdma_dim objects, and dim's interfaces solely act as a base for
net_dim and rdma_dim and are not explicitly used anywhere else.
rdma_dim is utilized by the infiniband driver, while net_dim
is for network devices, excluding the soc/fsl driver.
In this patch, net_dim relies on some NET's interfaces, thus
DIMLIB needs to explicitly depend on the NET Kconfig.
The soc/fsl driver uses the functions provided by net_dim, so
it also needs to depend on NET.
Signed-off-by: Heng Qi <hengqi@linux.alibaba.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240621101353.107425-3-hengqi@linux.alibaba.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index b0a76dff5c18..b38849af6f13 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -623,6 +623,7 @@ config SIGNATURE config DIMLIB tristate + depends on NET help Dynamic Interrupt Moderation library. Implements an algorithm for dynamically changing CQ moderation values |