From nobody Tue Apr 7 14:22:31 2026 Received: from canpmsgout05.his.huawei.com (canpmsgout05.his.huawei.com [113.46.200.220]) (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 BC5913750C3; Fri, 13 Mar 2026 07:54:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=113.46.200.220 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773388489; cv=none; b=qqP9NS6ISqg0dU9PRyW6HB4u7996I2IgMkKx+FxDHf6CQFgaGxJ2q8m07Mn5EeclcOrWxVP7K1+pi0bTSRdSJBdzUSgroEGFqSVJQ8sl9XIl60VElVOKenMAPq/eJshBuptc6bEAlXxKWpWduXqClunpYKhaURkGvICFinc49C4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773388489; c=relaxed/simple; bh=i1jiumcQZiP2Ci3x82wonFSxRawgl5+SlJAX3cvDoEA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=J3U91lFSS412+ZnrTmucWGOSGWpJc2CpzPR9BAp/CUoRz3wbK4kujB10jsYXP4lZ0ZYNTQrZMQpDSapdKaKMyhjdDLd3BYeNyMTA+buvdIYwft6UWvxMh2SmUNNCwiaLztu9vcVr8lD6hiwY1Sy7CJ9jL/kctS4YIM1eY4Er5xA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b=awrXCNJ5; arc=none smtp.client-ip=113.46.200.220 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b="awrXCNJ5" dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=Gr18oaSJUcPzY0rmm5017uOluUBl6sdFCPby3KmY0zA=; b=awrXCNJ5WQIyVxnkGk+3o/vdOTFo34RObw+979dc6WU6Pg/gcEnvCHFO/StmLBAFJd2mGv17s GVQNoNZBOvAlv9oHMG+iXSpYZ3eN/oNR3LAvBnu/wPLEWp91kDAQ+3ntWUtRn/8m3ZFwdduI6zJ kQOcUKlfeEK8Mkv+qxuWqKg= Received: from mail.maildlp.com (unknown [172.19.162.140]) by canpmsgout05.his.huawei.com (SkyGuard) with ESMTPS id 4fXGp84BdFz12LHj; Fri, 13 Mar 2026 15:49:04 +0800 (CST) Received: from kwepemf100013.china.huawei.com (unknown [7.202.181.12]) by mail.maildlp.com (Postfix) with ESMTPS id E3752202D3; Fri, 13 Mar 2026 15:54:38 +0800 (CST) Received: from DESKTOP-62GVMTR.china.huawei.com (10.174.189.124) by kwepemf100013.china.huawei.com (7.202.181.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.36; Fri, 13 Mar 2026 15:54:37 +0800 From: Fan Gong To: Fan Gong , Zhu Yikai , , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Andrew Lunn , Ioana Ciornei CC: , , luosifu , Xin Guo , Zhou Shuai , Wu Like , Shi Jing , Zheng Jiezhen , Maxime Chevallier Subject: [PATCH net-next v01 7/7] hinic3: Remove unneed coalesce parameters Date: Fri, 13 Mar 2026 15:54:14 +0800 Message-ID: X-Mailer: git-send-email 2.51.0.windows.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: kwepems500002.china.huawei.com (7.221.188.17) To kwepemf100013.china.huawei.com (7.202.181.12) Content-Type: text/plain; charset="utf-8" Remove unneed coalesce parameters in irq handling. Co-developed-by: Zhu Yikai Signed-off-by: Zhu Yikai Signed-off-by: Fan Gong --- drivers/net/ethernet/huawei/hinic3/hinic3_irq.c | 6 +----- drivers/net/ethernet/huawei/hinic3/hinic3_rx.h | 3 --- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/net/ethernet/huawei/hinic3/hinic3_irq.c b/drivers/net/= ethernet/huawei/hinic3/hinic3_irq.c index fb3865fc986a..a58a2a4d4572 100644 --- a/drivers/net/ethernet/huawei/hinic3/hinic3_irq.c +++ b/drivers/net/ethernet/huawei/hinic3/hinic3_irq.c @@ -149,13 +149,9 @@ static int hinic3_set_interrupt_moder(struct net_devic= e *netdev, u16 q_id, nic_dev->intr_coalesce[q_id].resend_timer_cfg; =20 err =3D hinic3_set_interrupt_cfg(nic_dev->hwdev, info); - if (err) { + if (err) netdev_err(netdev, "Failed to modify moderation for Queue: %u\n", q_id); - } else { - nic_dev->rxqs[q_id].last_coalesc_timer_cfg =3D coalesc_timer_cfg; - nic_dev->rxqs[q_id].last_pending_limit =3D pending_limit; - } =20 return err; } diff --git a/drivers/net/ethernet/huawei/hinic3/hinic3_rx.h b/drivers/net/e= thernet/huawei/hinic3/hinic3_rx.h index cd2dcaab6cf7..a64a51d766c5 100644 --- a/drivers/net/ethernet/huawei/hinic3/hinic3_rx.h +++ b/drivers/net/ethernet/huawei/hinic3/hinic3_rx.h @@ -112,9 +112,6 @@ struct hinic3_rxq { dma_addr_t cqe_start_paddr; =20 struct dim dim; - - u8 last_coalesc_timer_cfg; - u8 last_pending_limit; } ____cacheline_aligned; =20 struct hinic3_dyna_rxq_res { --=20 2.43.0