From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA278C433F5 for ; Wed, 23 Feb 2022 03:14:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237842AbiBWDPW (ORCPT ); Tue, 22 Feb 2022 22:15:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236490AbiBWDPT (ORCPT ); Tue, 22 Feb 2022 22:15:19 -0500 Received: from out30-131.freemail.mail.aliyun.com (out30-131.freemail.mail.aliyun.com [115.124.30.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D091E11C04; Tue, 22 Feb 2022 19:14:52 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R741e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04426;MF=guoheyi@linux.alibaba.com;NM=1;PH=DS;RN=11;SR=0;TI=SMTPD_---0V5Fxg9P_1645586078; Received: from fdadf40dcbca.tbsite.net(mailfrom:guoheyi@linux.alibaba.com fp:SMTPD_---0V5Fxg9P_1645586078) by smtp.aliyun-inc.com(127.0.0.1); Wed, 23 Feb 2022 11:14:49 +0800 From: Heyi Guo To: linux-kernel@vger.kernel.org Cc: Heyi Guo , Andrew Lunn , "David S. Miller" , Jakub Kicinski , Joel Stanley , Guangbin Huang , Hao Chen , Arnd Bergmann , Dylan Hung , netdev@vger.kernel.org Subject: [PATCH 0/3] drivers/net/ftgmac100: fix occasional DHCP failure Date: Wed, 23 Feb 2022 11:14:33 +0800 Message-Id: <20220223031436.124858-1-guoheyi@linux.alibaba.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set is to fix the issues discussed in the mail thread: https://lore.kernel.org/netdev/51f5b7a7-330f-6b3c-253d-10e45cdb6805@linux.alibaba.com/ and follows the advice from Andrew Lunn. The first 2 patches refactors the code to enable adjust_link calling reset function directly. Cc: Andrew Lunn Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Joel Stanley Cc: Guangbin Huang Cc: Hao Chen Cc: Arnd Bergmann Cc: Dylan Hung Cc: netdev@vger.kernel.org Heyi Guo (3): drivers/net/ftgmac100: refactor ftgmac100_reset_task to enable direct function call drivers/net/ftgmac100: adjust code place for function call dependency drivers/net/ftgmac100: fix DHCP potential failure with systemd drivers/net/ethernet/faraday/ftgmac100.c | 243 ++++++++++++----------- 1 file changed, 129 insertions(+), 114 deletions(-) -- 2.17.1