[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4a389a34-f41e-4b86-c0c7-94e4f36db442@gmail.com>
Date: Thu, 19 Mar 2020 09:43:47 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: René van Dorst <opensource@...rst.com>,
netdev@...r.kernel.org
Cc: Frank Wunderlich <frank-w@...lic-files.de>,
DENG Qingfang <dqfext@...il.com>,
Landen Chao <landen.chao@...iatek.com>,
Sean Wang <sean.wang@...iatek.com>,
Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Matthias Brugger <matthias.bgg@...il.com>,
Russell King <linux@...linux.org.uk>,
linux-mediatek@...ts.infradead.org,
Andrew Smith <andrew.smith@...i.com>
Subject: Re: [[PATCH,net]] net: dsa: mt7530: Change the LINK bit to reflect
the link status
Le 2020-03-19 à 06:47, René van Dorst a écrit :
> Andrew reported:
>
> After a number of network port link up/down changes, sometimes the switch
> port gets stuck in a state where it thinks it is still transmitting packets
> but the cpu port is not actually transmitting anymore. In this state you
> will see a message on the console
> "mtk_soc_eth 1e100000.ethernet eth0: transmit timed out" and the Tx counter
> in ifconfig will be incrementing on virtual port, but not incrementing on
> cpu port.
>
> The issue is that MAC TX/RX status has no impact on the link status or
> queue manager of the switch. So the queue manager just queues up packets
> of a disabled port and sends out pause frames when the queue is full.
>
> Change the LINK bit to reflect the link status.
>
> Fixes: b8f126a8d543 ("net-next: dsa: add dsa support for Mediatek MT7530 switch")
> Reported-by: Andrew Smith <andrew.smith@...i.com>
> Signed-off-by: René van Dorst <opensource@...rst.com>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists