kernel: bump 5.4 to 5.4.42
[openwrt/staging/ynezz.git] / target / linux / layerscape / patches-5.4 / 701-net-0201-dpaa2-eth-Enable-Tx-PFC.patch
index 4efc15514dcd9abb21e51cb578fe302af2a5002a..c663578ffcf1ae79831267bb19ff17d02135925b 100644 (file)
@@ -19,7 +19,7 @@ Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
 
 --- a/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
 +++ b/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
-@@ -3622,6 +3622,47 @@ static int dpaa2_eth_dcbnl_ieee_getpfc(s
+@@ -3627,6 +3627,47 @@ static int dpaa2_eth_dcbnl_ieee_getpfc(s
        return 0;
  }
  
@@ -67,7 +67,7 @@ Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
  static int dpaa2_eth_dcbnl_ieee_setpfc(struct net_device *net_dev,
                                       struct ieee_pfc *pfc)
  {
-@@ -3639,7 +3680,8 @@ static int dpaa2_eth_dcbnl_ieee_setpfc(s
+@@ -3644,7 +3685,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
         */
@@ -77,7 +77,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;
-@@ -3654,6 +3696,11 @@ static int dpaa2_eth_dcbnl_ieee_setpfc(s
+@@ -3659,6 +3701,11 @@ static int dpaa2_eth_dcbnl_ieee_setpfc(s
                return err;
        }