diff options
author | Jose Abreu <Jose.Abreu@synopsys.com> | 2019-06-28 10:29:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-28 19:23:39 +0300 |
commit | 01d1689d6d70de3428bd8e15aebd2da1fcddcaaa (patch) | |
tree | 2be5f2872eeaec5d9bba4912d4fb173debe508ce /drivers/net/ethernet/stmicro/stmmac/common.h | |
parent | 5b1117704d4c59f5dc8df033e418f02838d4a130 (diff) | |
download | linux-01d1689d6d70de3428bd8e15aebd2da1fcddcaaa.tar.xz |
net: stmmac: Decrease default RX Watchdog value
For performance reasons decrease the default RX Watchdog value for the
minimum allowed.
Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/common.h')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/common.h b/drivers/net/ethernet/stmicro/stmmac/common.h index ad9e9368535d..14d8f6d7cb9a 100644 --- a/drivers/net/ethernet/stmicro/stmmac/common.h +++ b/drivers/net/ethernet/stmicro/stmmac/common.h @@ -246,7 +246,7 @@ struct stmmac_safety_stats { /* Max/Min RI Watchdog Timer count value */ #define MAX_DMA_RIWT 0xff -#define MIN_DMA_RIWT 0x20 +#define MIN_DMA_RIWT 0x10 /* Tx coalesce parameters */ #define STMMAC_COAL_TX_TIMER 1000 #define STMMAC_MAX_COAL_TX_TICK 100000 |