diff options
author | Antoine Tenart <antoine.tenart@free-electrons.com> | 2017-12-11 09:13:29 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-13 17:16:51 +0100 |
commit | 86162281c25fd76e604978ffa0b2838e86ad4287 (patch) | |
tree | d9b11ea7d7db169db80c64226f79ac90483b06dd /drivers/net/ethernet/marvell/mvpp2.c | |
parent | net: mvpp2: report the tx-usec coalescing information to ethtool (diff) | |
download | linux-86162281c25fd76e604978ffa0b2838e86ad4287.tar.xz linux-86162281c25fd76e604978ffa0b2838e86ad4287.zip |
net: mvpp2: adjust the coalescing parameters
This patch adjust the coalescing parameters to the vendor
recommendations for the PPv2 network controller.
Suggested-by: Yan Markman <ymarkman@marvell.com>
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/mvpp2.c')
-rw-r--r-- | drivers/net/ethernet/marvell/mvpp2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/marvell/mvpp2.c b/drivers/net/ethernet/marvell/mvpp2.c index aa72109290c3..a19760736b71 100644 --- a/drivers/net/ethernet/marvell/mvpp2.c +++ b/drivers/net/ethernet/marvell/mvpp2.c @@ -454,11 +454,11 @@ /* Various constants */ /* Coalescing */ -#define MVPP2_TXDONE_COAL_PKTS_THRESH 15 +#define MVPP2_TXDONE_COAL_PKTS_THRESH 64 #define MVPP2_TXDONE_HRTIMER_PERIOD_NS 1000000UL #define MVPP2_TXDONE_COAL_USEC 1000 #define MVPP2_RX_COAL_PKTS 32 -#define MVPP2_RX_COAL_USEC 100 +#define MVPP2_RX_COAL_USEC 64 /* The two bytes Marvell header. Either contains a special value used * by Marvell switches when a specific hardware mode is enabled (not |