kernel-5.4: bump to 5.4.102 and refresh patches
[openwrt/openwrt.git] / target / linux / layerscape / patches-5.4 / 701-net-0202-dpaa2-eth-Keep-congestion-group-taildrop-enabled-whe.patch
index 8ac8ccf9bc2cc8693762096a9dc6946b5941c187..9a0024636d450d4664a9ba7c5e058737e042f7ae 100644 (file)
@@ -87,7 +87,7 @@ Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
  
        /* Chech link state; speed / duplex changes are not treated yet */
        if (priv->link_state.up == state.up)
-@@ -3673,6 +3688,7 @@ static int dpaa2_eth_dcbnl_ieee_setpfc(s
+@@ -3675,6 +3690,7 @@ static int dpaa2_eth_dcbnl_ieee_setpfc(s
  {
        struct dpaa2_eth_priv *priv = netdev_priv(net_dev);
        struct dpni_link_cfg link_cfg = {0};
@@ -95,7 +95,7 @@ Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
        int err;
  
        if (pfc->mbc || pfc->delay)
-@@ -3685,8 +3701,8 @@ static int dpaa2_eth_dcbnl_ieee_setpfc(s
+@@ -3687,8 +3703,8 @@ static int dpaa2_eth_dcbnl_ieee_setpfc(s
        /* We allow PFC configuration even if it won't have any effect until
         * general pause frames are enabled
         */
@@ -106,7 +106,7 @@ Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
                netdev_warn(net_dev, "Pause support must be enabled in order for PFC to work!\n");
  
        link_cfg.rate = priv->link_state.rate;
-@@ -3707,6 +3723,9 @@ static int dpaa2_eth_dcbnl_ieee_setpfc(s
+@@ -3709,6 +3725,9 @@ static int dpaa2_eth_dcbnl_ieee_setpfc(s
                return err;
  
        memcpy(&priv->pfc, pfc, sizeof(priv->pfc));