mirror of https://gitee.com/openkylin/linux.git
net: stmmac: xgmac: Do not enable TBU interrupt
Now that TX Coalesce has been rewritten we no longer need this additional interrupt enabled. This reduces CPU usage. Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c2837423cb
commit
8d07a79304
|
@ -360,7 +360,7 @@
|
||||||
#define XGMAC_TBUE BIT(2)
|
#define XGMAC_TBUE BIT(2)
|
||||||
#define XGMAC_TIE BIT(0)
|
#define XGMAC_TIE BIT(0)
|
||||||
#define XGMAC_DMA_INT_DEFAULT_EN (XGMAC_NIE | XGMAC_AIE | XGMAC_RBUE | \
|
#define XGMAC_DMA_INT_DEFAULT_EN (XGMAC_NIE | XGMAC_AIE | XGMAC_RBUE | \
|
||||||
XGMAC_RIE | XGMAC_TBUE | XGMAC_TIE)
|
XGMAC_RIE | XGMAC_TIE)
|
||||||
#define XGMAC_DMA_CH_Rx_WATCHDOG(x) (0x0000313c + (0x80 * (x)))
|
#define XGMAC_DMA_CH_Rx_WATCHDOG(x) (0x0000313c + (0x80 * (x)))
|
||||||
#define XGMAC_RWT GENMASK(7, 0)
|
#define XGMAC_RWT GENMASK(7, 0)
|
||||||
#define XGMAC_DMA_CH_STATUS(x) (0x00003160 + (0x80 * (x)))
|
#define XGMAC_DMA_CH_STATUS(x) (0x00003160 + (0x80 * (x)))
|
||||||
|
|
Loading…
Reference in New Issue