Patch "net: ethernet: mtk_eth_soc: fix tx throughput regression with direct 1G links" has been added to the 6.2-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: ethernet: mtk_eth_soc: fix tx throughput regression with direct 1G links

to the 6.2-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-ethernet-mtk_eth_soc-fix-tx-throughput-regressio.patch
and it can be found in the queue-6.2 subdirectory.

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



commit 40675330a49a01575894c7138fe4d69e33a945e4
Author: Felix Fietkau <nbd@xxxxxxxx>
Date:   Fri Mar 24 15:04:04 2023 +0100

    net: ethernet: mtk_eth_soc: fix tx throughput regression with direct 1G links
    
    [ Upstream commit 07b3af42d8d528374d4f42d688bae86eeb30831a ]
    
    Using the QDMA tx scheduler to throttle tx to line speed works fine for
    switch ports, but apparently caused a regression on non-switch ports.
    
    Based on a number of tests, it seems that this throttling can be safely
    dropped without re-introducing the issues on switch ports that the
    tx scheduling changes resolved.
    
    Link: https://lore.kernel.org/netdev/trinity-92c3826f-c2c8-40af-8339-bc6d0d3ffea4-1678213958520@3c-app-gmx-bs16/
    Fixes: f63959c7eec3 ("net: ethernet: mtk_eth_soc: implement multi-queue support for per-port queues")
    Reported-by: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx>
    Reported-by: Daniel Golle <daniel@xxxxxxxxxxxxxx>
    Tested-by: Daniel Golle <daniel@xxxxxxxxxxxxxx>
    Signed-off-by: Felix Fietkau <nbd@xxxxxxxx>
    Link: https://lore.kernel.org/r/20230324140404.95745-1-nbd@xxxxxxxx
    Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
index 332329cb1ee00..9f9df6255baa1 100644
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
@@ -713,8 +713,6 @@ static void mtk_mac_link_up(struct phylink_config *config,
 		break;
 	}
 
-	mtk_set_queue_speed(mac->hw, mac->id, speed);
-
 	/* Configure duplex */
 	if (duplex == DUPLEX_FULL)
 		mcr |= MAC_MCR_FORCE_DPX;



[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