Patch "net: mvpp2: do not disable GMAC padding" has been added to the 4.14-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
net: mvpp2: do not disable GMAC padding
to the 4.14-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-mvpp2-do-not-disable-gmac-padding.patch
and it can be found in the queue-4.14 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
e749aca84b10f3987b2ee1f76e0c7d8aacc5653cMon Sep 17 00:00:00 2001
From: Yan Markman <[email protected]>
Date: Tue, 28 Nov 2017 14:19:50 +0100
Subject: net: mvpp2: do not disable GMAC padding
From: Yan Markman <[email protected]>
commit e749aca84b10f3987b2ee1f76e0c7d8aacc5653c upstream.
Short fragmented packets may never be sent by the hardware when padding is disabled. This patch stop modifying the GMAC padding bits, to leave them to their reset value (disabled).
--- drivers/net/ethernet/marvell/mvpp2.c | 9 --------- 1 file changed, 9 deletions(-)
drivers/net/ethernet/marvell/mvpp2.c +0 -9
@@ -4552,11 +4552,6 @@ static void mvpp2_port_mii_gmac_configurMVPP22_CTRL4_QSGMII_BYPASS_ACTIVE ; val &= ~MVPP22_CTRL4_EXT_PIN_GMII_SEL ;writel (val, port->base +MVPP22_GMAC_CTRL_4_REG ); - - val =readl (port->base +MVPP2_GMAC_CTRL_2_REG ); - val |=MVPP2_GMAC_DISABLE_PADDING ; - val &= ~MVPP2_GMAC_FLOW_CTRL_MASK ; -writel (val, port->base +MVPP2_GMAC_CTRL_2_REG ); }else if (phy_interface_mode_is_rgmii (port->phy_interface)) { val =readl (port->base +MVPP22_GMAC_CTRL_4_REG ); val |= MVPP22_CTRL4_EXT_PIN_GMII_SEL |
@@ -4564,10 +4559,6 @@ static void mvpp2_port_mii_gmac_configurMVPP22_CTRL4_QSGMII_BYPASS_ACTIVE ; val &= ~MVPP22_CTRL4_DP_CLK_SEL ;writel (val, port->base +MVPP22_GMAC_CTRL_4_REG ); - - val =readl (port->base +MVPP2_GMAC_CTRL_2_REG ); - val &= ~MVPP2_GMAC_DISABLE_PADDING ; -writel (val, port->base +MVPP2_GMAC_CTRL_2_REG ); }/* The port is connected to a copper PHY */
Patches currently in stable-queue which might be from [email protected] are
queue-4.14/net-mvpp2-do-not-disable-gmac-padding.patch