Skip to content

Commit 2d593cf

Browse files
arndbkuba-moo
authored andcommitted
hinic3: select CONFIG_DIMLIB
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: b35a6fd ("hinic3: Add adaptive IRQ coalescing with DIM") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev> Link: https://patch.msgid.link/20260205161530.1308504-1-arnd@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent abf981b commit 2d593cf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • drivers/net/ethernet/huawei/hinic3

drivers/net/ethernet/huawei/hinic3/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ config HINIC3
1111
depends on X86 || ARM64 || COMPILE_TEST
1212
depends on PCI_MSI && 64BIT
1313
select AUXILIARY_BUS
14+
select DIMLIB
1415
select PAGE_POOL
1516
help
1617
This driver supports HiNIC 3rd gen Network Adapter (HINIC3).

0 commit comments

Comments
 (0)