Skip to content

Commit 85467f7

Browse files
Ansuelkuba-moo
authored andcommitted
net: dsa: qca8k: reduce mgmt ethernet timeout
The current mgmt ethernet timeout is set to 100ms. This value is too big and would slow down any mdio command in case the mgmt ethernet packet have some problems on the receiving part. Reduce it to just 5ms to handle case when some operation are done on the master port that would cause the mgmt ethernet to not work temporarily. Fixes: 5950c7c ("net: dsa: qca8k: add support for mgmt read/write in Ethernet packet") Signed-off-by: Christian Marangi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 386228c commit 85467f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/dsa/qca8k.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
#define QCA8K_ETHERNET_MDIO_PRIORITY 7
1717
#define QCA8K_ETHERNET_PHY_PRIORITY 6
18-
#define QCA8K_ETHERNET_TIMEOUT 100
18+
#define QCA8K_ETHERNET_TIMEOUT 5
1919

2020
#define QCA8K_NUM_PORTS 7
2121
#define QCA8K_NUM_CPU_PORTS 2

0 commit comments

Comments
 (0)