From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-174.mta1.migadu.com (out-174.mta1.migadu.com [95.215.58.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 015CA3624A1 for ; Fri, 6 Feb 2026 12:54:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770382470; cv=none; b=HyjuAqNuyi8ZrV1mdwf5U2KEbvOsmY2f+Lbq/8fr3njHm4CQkeVDJ73kgH3Le+p/nLcoZwomFEXu7rK7IToSFAINz/q6qMK8bbmngOZu28P5q0omBMRNsJHKFnusQKqjMG8hv7hcBuOet3L7C1v1Vhny3wws8XEqKFAUmX+PrJE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770382470; c=relaxed/simple; bh=e15gRBrIzetrI6KD4QShDQk3TNLCEqY7g/MxM4CS7Bc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=uFGW5S1biL1tsdzz52q5Ni4pQaz+1Jmf9DpWDl6TgOYUOJ7Co5aLU+ehsiNdBv1B7Yi/1ZcuzKK8VXaX7/9S7Y14s+5165z6epve9GR53hodkwc54BVnlnpUiujnOHms2E6PeFRnYFcCUIaWzrZIoBZ1GDXrawqJ2tBzvxBZLHY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=xjLZHVnW; arc=none smtp.client-ip=95.215.58.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="xjLZHVnW" Message-ID: <3ea3ab8b-6b12-4741-b442-b41a396ec9ad@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1770382468; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UwxV06tM7H5Mm8XnKv9F0cpXJjB4KJtL/VybwYnpRg8=; b=xjLZHVnWfRGt9/1AtxWzkEHINOvdlHQ5R69z8Koo263g8iEiUlOHrlZQCWCNnHwIR4sSvZ pckyuHihm2+AA0K4n4D0E9YBGqYaac33sA7MD38eOu2bTn70c0gStHnEaJb3iK/n32fdvq s5IQEzuTus9ni4BD2Uy6ujNE1nItlqw= Date: Fri, 6 Feb 2026 12:54:24 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH] [net-next] hinic3: select CONFIG_DIMLIB To: Arnd Bergmann , Fan Gong , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Zhu Yikai Cc: Arnd Bergmann , Xin Guo , Gur Stavi , netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260205161530.1308504-1-arnd@kernel.org> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Vadim Fedorenko In-Reply-To: <20260205161530.1308504-1-arnd@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 05/02/2026 16:13, Arnd Bergmann wrote: > From: Arnd Bergmann > > 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") > Signed-off-by: Arnd Bergmann > --- > drivers/net/ethernet/huawei/hinic3/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/ethernet/huawei/hinic3/Kconfig b/drivers/net/ethernet/huawei/hinic3/Kconfig > index ce4331d1387b..02d6f91a7f4a 100644 > --- a/drivers/net/ethernet/huawei/hinic3/Kconfig > +++ b/drivers/net/ethernet/huawei/hinic3/Kconfig > @@ -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). Reviewed-by: Vadim Fedorenko