]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: qca8k: reduce mgmt ethernet timeout
authorChristian Marangi <ansuelsmth@gmail.com>
Tue, 21 Jun 2022 15:16:33 +0000 (17:16 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 23 Jun 2022 01:33:51 +0000 (18:33 -0700)
commit6c9acb91bc7459fae6a9b901dfba066470801f0a
treeda504c1c08e280ec023b1b25d68b0336602e84b8
parent60e8ad19c48fdcd1636da58cf08c3d30ffc427cd
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: 59a69d1b2e92 ("net: dsa: qca8k: add support for mgmt read/write in Ethernet packet")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Link: https://lore.kernel.org/r/20220621151633.11741-1-ansuelsmth@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/qca8k.h