[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOMZO5CbNEspuYTUVfMysNkzzMXgTZaRxCTKSXfT0=WmoK=i5Q@mail.gmail.com>
Date: Sat, 15 Nov 2025 18:01:38 -0300
From: Fabio Estevam <festevam@...il.com>
To: Heiner Kallweit <hkallweit1@...il.com>
Cc: Russell King - ARM Linux <linux@...linux.org.uk>, edumazet <edumazet@...gle.com>,
netdev <netdev@...r.kernel.org>, Andrew Lunn <andrew@...n.ch>
Subject: Re: LAN8720: RX errors / packet loss when using smsc PHY driver on i.MX6Q
Hi Heiner,
On Fri, Nov 14, 2025 at 6:33 PM Heiner Kallweit <hkallweit1@...il.com> wrote:
> The smsc PHY driver for LAN8720 has a number of callbacks and flags.
> Try commenting them out one after the other until it works.
>
> .read_status = lan87xx_read_status,
> .config_init = smsc_phy_config_init,
> .soft_reset = smsc_phy_reset,
> .config_aneg = lan95xx_config_aneg_ext,
> .suspend = genphy_suspend,
> .resume = genphy_resume,
> .flags = PHY_RST_AFTER_CLK_EN,
>
> All of them are optional. If all are commented out, you should have
> the behavior of the genphy driver.
>
> Once we know which callback is problematic, we have a starting point.
Thanks for the suggestion.
After removing the '.soft_reset = smsc_phy_reset,' line, there is no
packet loss anymore.
If you have any other suggestions regarding smsc_phy_reset(), please
let me know.
Thanks
Powered by blists - more mailing lists