From nobody Thu Apr 2 12:14:53 2026 Received: from canpmsgout10.his.huawei.com (canpmsgout10.his.huawei.com [113.46.200.225]) (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 3BC332609DC; Mon, 30 Mar 2026 01:03:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=113.46.200.225 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774832627; cv=none; b=X2tDU5ax/2VmGBwbwRT1Rj3AjLXTMHF9sCulk1O/dPj/uCZzQTOkCxyN9gdLwYGAKUEHx9vYnwocCxszfuw4im9gTZjy/2ZZcyd8fjdjywAEEDKpltPYPaMPK9Y0/8DRet2GCKA2ZlTakFV7boaDJr0XXiviWzwAKqU31LAF8+U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774832627; c=relaxed/simple; bh=ZWwHQ0YIbpnyNofAWamDGt0drpp0jNNahdo2hEpLI00=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=UmsA3q2Ylr+0GsQdLtQNCQlYz/A4RPY03E3wEdeAX5WweEGxNrbpqW46NkOVEWAo8QVm6J0RJHZDlC5+QDtARNujW5e/tYokZmrajTagfFXhOZj9VChhKhitjt8vgteGmEi+0u6QOOigAmAwHuF8lSmc6F83R8WzHJitrRWimWg= 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=sk+tLsf+; arc=none smtp.client-ip=113.46.200.225 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="sk+tLsf+" dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=SGaDmtr82UldrbGdj7p4lvrujnkBoMkWMdmhFEHpbj8=; b=sk+tLsf+saF7kDnZ3YdrDnIwAYRjrNORbK6xs6qqkhhswP5LMyQiXSqMomdY/RcFz1xHxKDVK tZDZHVtTFJ/lyN30H7PZJv6q/ZxHxZ/KxWFp1o5LAb/DsxiojWR53ef7ui3sBtzKRfn08TH/xNP UoVdYabOPOUn5MCIkgBbhAM= Received: from mail.maildlp.com (unknown [172.19.163.200]) by canpmsgout10.his.huawei.com (SkyGuard) with ESMTPS id 4fkXsS116Tz1K9hD; Mon, 30 Mar 2026 08:57:32 +0800 (CST) Received: from kwepemf100013.china.huawei.com (unknown [7.202.181.12]) by mail.maildlp.com (Postfix) with ESMTPS id 3BC2040567; Mon, 30 Mar 2026 09:03: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; Mon, 30 Mar 2026 09:03: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 v02 5/6] hinic3: Configure netdev->watchdog_timeo to set nic tx timeout Date: Mon, 30 Mar 2026 09:03:22 +0800 Message-ID: <5275ea1ba57fa75754ab080654f30209d990170d.1774684571.git.zhuyikai1@h-partners.com> 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: kwepems100002.china.huawei.com (7.221.188.206) To kwepemf100013.china.huawei.com (7.202.181.12) Content-Type: text/plain; charset="utf-8" Configure netdev watchdog timeout to improve transmission reliability. Co-developed-by: Zhu Yikai Signed-off-by: Zhu Yikai Signed-off-by: Fan Gong --- drivers/net/ethernet/huawei/hinic3/hinic3_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/ethernet/huawei/hinic3/hinic3_main.c b/drivers/net= /ethernet/huawei/hinic3/hinic3_main.c index 60834f8dffcd..4742c881b7a6 100644 --- a/drivers/net/ethernet/huawei/hinic3/hinic3_main.c +++ b/drivers/net/ethernet/huawei/hinic3/hinic3_main.c @@ -33,6 +33,8 @@ #define HINIC3_RX_PENDING_LIMIT_LOW 2 #define HINIC3_RX_PENDING_LIMIT_HIGH 8 =20 +#define HINIC3_WATCHDOG_TIMEOUT 5 + static void init_intr_coal_param(struct net_device *netdev) { struct hinic3_nic_dev *nic_dev =3D netdev_priv(netdev); @@ -247,6 +249,8 @@ static void hinic3_assign_netdev_ops(struct net_device = *netdev) { hinic3_set_netdev_ops(netdev); hinic3_set_ethtool_ops(netdev); + + netdev->watchdog_timeo =3D HINIC3_WATCHDOG_TIMEOUT * HZ; } =20 static void netdev_feature_init(struct net_device *netdev) --=20 2.43.0