]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dim: make DIMLIB dependent on NET
authorHeng Qi <hengqi@linux.alibaba.com>
Fri, 21 Jun 2024 10:13:50 +0000 (18:13 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 26 Jun 2024 00:15:06 +0000 (17:15 -0700)
commitb65e697a7c9e0ae28a6255257d8b9b3271960426
tree51f7f96abc033ee9d96d3b33edb8ce78023dfd38
parent0e942053e4dc42a760f48c1981f3239825430f15
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>
drivers/soc/fsl/Kconfig
lib/Kconfig