Message ID | 1505867589-11784-2-git-send-email-troy.kisky@boundarydevices.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
Series | [v4,1/3] net: fec: only check queue 0 if RXF_0/TXF_0 interrupt is set | expand |
From: Troy Kisky <troy.kisky@boundarydevices.com> Sent: Wednesday, September 20, 2017 8:33 AM >FEC_ENET_TS_TIMER is not checked in the interrupt routine so there is no >need to enable it. > >Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> >Acked-by: Fugang Duan <fugang.duan@nxp.com> > >--- >v4: Added Acked-by > >Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> >--- Troy, thank you for submitting the version. The patch series had been already acked by me. Thanks again. > drivers/net/ethernet/freescale/fec.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/drivers/net/ethernet/freescale/fec.h >b/drivers/net/ethernet/freescale/fec.h >index 38c7b21..ede1876 100644 >--- a/drivers/net/ethernet/freescale/fec.h >+++ b/drivers/net/ethernet/freescale/fec.h >@@ -374,8 +374,8 @@ struct bufdesc_ex { > #define FEC_ENET_TS_AVAIL ((uint)0x00010000) > #define FEC_ENET_TS_TIMER ((uint)0x00008000) > >-#define FEC_DEFAULT_IMASK (FEC_ENET_TXF | FEC_ENET_RXF | >FEC_ENET_MII | FEC_ENET_TS_TIMER) >-#define FEC_NAPI_IMASK (FEC_ENET_MII | FEC_ENET_TS_TIMER) >+#define FEC_DEFAULT_IMASK (FEC_ENET_TXF | FEC_ENET_RXF | >FEC_ENET_MII) >+#define FEC_NAPI_IMASK FEC_ENET_MII > #define FEC_RX_DISABLED_IMASK (FEC_DEFAULT_IMASK & >(~FEC_ENET_RXF)) > > /* ENET interrupt coalescing macro define */ >-- >2.7.4
From: Troy Kisky <troy.kisky@boundarydevices.com> Date: Tue, 19 Sep 2017 17:33:08 -0700 > FEC_ENET_TS_TIMER is not checked in the interrupt routine > so there is no need to enable it. > > Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> > Acked-by: Fugang Duan <fugang.duan@nxp.com> Applied.
diff --git a/drivers/net/ethernet/freescale/fec.h b/drivers/net/ethernet/freescale/fec.h index 38c7b21..ede1876 100644 --- a/drivers/net/ethernet/freescale/fec.h +++ b/drivers/net/ethernet/freescale/fec.h @@ -374,8 +374,8 @@ struct bufdesc_ex { #define FEC_ENET_TS_AVAIL ((uint)0x00010000) #define FEC_ENET_TS_TIMER ((uint)0x00008000) -#define FEC_DEFAULT_IMASK (FEC_ENET_TXF | FEC_ENET_RXF | FEC_ENET_MII | FEC_ENET_TS_TIMER) -#define FEC_NAPI_IMASK (FEC_ENET_MII | FEC_ENET_TS_TIMER) +#define FEC_DEFAULT_IMASK (FEC_ENET_TXF | FEC_ENET_RXF | FEC_ENET_MII) +#define FEC_NAPI_IMASK FEC_ENET_MII #define FEC_RX_DISABLED_IMASK (FEC_DEFAULT_IMASK & (~FEC_ENET_RXF)) /* ENET interrupt coalescing macro define */