Commit 86162281 authored by Antoine Tenart's avatar Antoine Tenart Committed by David S. Miller

net: mvpp2: adjust the coalescing parameters

This patch adjust the coalescing parameters to the vendor
recommendations for the PPv2 network controller.
Suggested-by: default avatarYan Markman <ymarkman@marvell.com>
Signed-off-by: default avatarAntoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 24b28ccb
...@@ -454,11 +454,11 @@ ...@@ -454,11 +454,11 @@
/* Various constants */ /* Various constants */
/* Coalescing */ /* 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_HRTIMER_PERIOD_NS 1000000UL
#define MVPP2_TXDONE_COAL_USEC 1000 #define MVPP2_TXDONE_COAL_USEC 1000
#define MVPP2_RX_COAL_PKTS 32 #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 /* The two bytes Marvell header. Either contains a special value used
* by Marvell switches when a specific hardware mode is enabled (not * by Marvell switches when a specific hardware mode is enabled (not
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment