Skip to contentSkip to conversation

hinic3: select CONFIG_DIMLIB

PATCH Applied Arnd Bergmann 3 participants 3 messages Feb 5 – Feb 7

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hinic3: select CONFIG_DIMLIB

From: Arnd Bergmann <[email protected]>

The driver started using dimlib but fails to select the corresponding symbol, which results in a link failure:

x86_64-linux-ld: drivers/net/ethernet/huawei/hinic3/hinic3_irq.o: in function `hinic3_poll':
hinic3_irq.c:(.text+0x179): undefined reference to `net_dim'
x86_64-linux-ld: drivers/net/ethernet/huawei/hinic3/hinic3_irq.o: in function `hinic3_rx_dim_work':
hinic3_irq.c:(.text+0x1fb): undefined reference to `net_dim_get_rx_moderation'

Fixes b35a6fd37a00 ("hinic3: Add adaptive IRQ coalescing with DIM")
---
 drivers/net/ethernet/huawei/hinic3/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/net/ethernet/huawei/hinic3/Kconfig +1 -0
index ce4331d1387b..02d6f91a7f4a 100644
@@ -11,6 +11,7 @@ config HINIC3
 	depends on X86 || ARM64 || COMPILE_TEST
 	depends on PCI_MSI && 64BIT
 	select AUXILIARY_BUS
+	select DIMLIB
 	select PAGE_POOL
 	help
 	  This driver supports HiNIC 3rd gen Network Adapter (HINIC3).
Signature · 1 line
2.39.5
Reviewed-by on v1 1/1
#1 lore raw
Quoted 21 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The driver started using dimlib but fails to select the corresponding symbol, which results in a link failure:

x86_64-linux-ld: drivers/net/ethernet/huawei/hinic3/hinic3_irq.o: in function `hinic3_poll':
hinic3_irq.c:(.text+0x179): undefined reference to `net_dim'
x86_64-linux-ld: drivers/net/ethernet/huawei/hinic3/hinic3_irq.o: in function `hinic3_rx_dim_work':
hinic3_irq.c:(.text+0x1fb): undefined reference to `net_dim_get_rx_moderation'

Fixes b35a6fd37a00 ("hinic3: Add adaptive IRQ coalescing with DIM")
---
  drivers/net/ethernet/huawei/hinic3/Kconfig | 1 +
  1 file changed, 1 insertion(+)
drivers/net/ethernet/huawei/hinic3/Kconfig +0 -0
index ce4331d1387b..02d6f91a7f4a 100644

drivers/net/ethernet/huawei/hinic3/Kconfig config HINIC3 · line 17

Quoted 7 lines
drivers/net/ethernet/huawei/hinic3/Kconfig +1 -0
@@ -11,6 +11,7 @@ config HINIC3
  	depends on X86 || ARM64 || COMPILE_TEST
  	depends on PCI_MSI && 64BIT
  	select AUXILIARY_BUS
+	select DIMLIB
  	select PAGE_POOL
  	help
  	  This driver supports HiNIC 3rd gen Network Adapter (HINIC3).
#2 lore raw
In reply to Arnd Bergmann
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 11 lines · On Thu, 5 Feb 2026 17:13:48 +0100 you wrote:

From: Arnd Bergmann <[email protected]>

The driver started using dimlib but fails to select the corresponding symbol, which results in a link failure:

x86_64-linux-ld: drivers/net/ethernet/huawei/hinic3/hinic3_irq.o: in function `hinic3_poll':
hinic3_irq.c:(.text+0x179): undefined reference to `net_dim'
x86_64-linux-ld: drivers/net/ethernet/huawei/hinic3/hinic3_irq.o: in function `hinic3_rx_dim_work':
hinic3_irq.c:(.text+0x1fb): undefined reference to `net_dim_get_rx_moderation'

[...]

Here is the summary with links:
- [net-next] hinic3: select CONFIG_DIMLIB

    https://git.kernel.org/netdev/net-next/c/2d593cf14670

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html