kernel: bump 5.4 to 5.4.42
[openwrt/staging/wigyori.git] / target / linux / layerscape / patches-5.4 / 701-net-0200-dpaa2-eth-Enable-Rx-PFC.patch
index 69a0999d033d80db56dba9eb35d3f2d14571089d..65d81f337da5de8126923f1b323012ef3fc6881d 100644 (file)
@@ -26,7 +26,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
-@@ -3613,6 +3613,9 @@ static int dpaa2_eth_dcbnl_ieee_getpfc(s
+@@ -3618,6 +3618,9 @@ static int dpaa2_eth_dcbnl_ieee_getpfc(s
  {
        struct dpaa2_eth_priv *priv = netdev_priv(net_dev);
  
@@ -36,7 +36,7 @@ Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
        memcpy(pfc, &priv->pfc, sizeof(priv->pfc));
        pfc->pfc_cap = dpaa2_eth_tc_count(priv);
  
-@@ -3623,6 +3626,8 @@ static int dpaa2_eth_dcbnl_ieee_setpfc(s
+@@ -3628,6 +3631,8 @@ static int dpaa2_eth_dcbnl_ieee_setpfc(s
                                       struct ieee_pfc *pfc)
  {
        struct dpaa2_eth_priv *priv = netdev_priv(net_dev);
@@ -45,7 +45,7 @@ Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
  
        if (pfc->mbc || pfc->delay)
                return -EOPNOTSUPP;
-@@ -3631,6 +3636,24 @@ static int dpaa2_eth_dcbnl_ieee_setpfc(s
+@@ -3636,6 +3641,24 @@ static int dpaa2_eth_dcbnl_ieee_setpfc(s
        if (priv->pfc.pfc_en == pfc->pfc_en)
                return 0;