Patch "net: dsa: qca8k: reduce mgmt ethernet timeout" has been added to the 5.18-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    net: dsa: qca8k: reduce mgmt ethernet timeout

to the 5.18-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     net-dsa-qca8k-reduce-mgmt-ethernet-timeout.patch
and it can be found in the queue-5.18 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit b41e060fb0824fb0d86d6abb42bf2f40db894fc9
Author: Christian Marangi <ansuelsmth@xxxxxxxxx>
Date:   Tue Jun 21 17:16:33 2022 +0200

    net: dsa: qca8k: reduce mgmt ethernet timeout
    
    [ Upstream commit 85467f7da18992311deafdbf32a8d163cb1e98d7 ]
    
    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: 5950c7c0a68c ("net: dsa: qca8k: add support for mgmt read/write in Ethernet packet")
    Signed-off-by: Christian Marangi <ansuelsmth@xxxxxxxxx>
    Link: https://lore.kernel.org/r/20220621151633.11741-1-ansuelsmth@xxxxxxxxx
    Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/net/dsa/qca8k.h b/drivers/net/dsa/qca8k.h
index f375627174c8..e553e3e6fa0f 100644
--- a/drivers/net/dsa/qca8k.h
+++ b/drivers/net/dsa/qca8k.h
@@ -15,7 +15,7 @@
 
 #define QCA8K_ETHERNET_MDIO_PRIORITY			7
 #define QCA8K_ETHERNET_PHY_PRIORITY			6
-#define QCA8K_ETHERNET_TIMEOUT				100
+#define QCA8K_ETHERNET_TIMEOUT				5
 
 #define QCA8K_NUM_PORTS					7
 #define QCA8K_NUM_CPU_PORTS				2



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux