History

net: stmmac: Rework coalesce timer and fix multi-queue races

This follows David Miller advice and tries to fix coalesce timer in multi-queue scenarios. We are now using per-queue coalesce values and per-queue TX timer. Coalesce timer default values was changed to 1ms and the coalesce frames to 25. Tested in B2B setup between XGMAC2 and GMAC5.

Jose Abreu committed 8 years ago

Commit 8fce3331 parent 5211da94 files · +146 −106Browse files

Showing the changes to include/linux (1 of 4 files). Show all

Unified · Split

include/linux/stmmac.h+1−0
@@ -30,6 +30,7 @@ · 29 unmodified lines
30 30
31#define MTL_MAX_RX_QUEUES 831#define MTL_MAX_RX_QUEUES 8
32#define MTL_MAX_TX_QUEUES 832#define MTL_MAX_TX_QUEUES 8
33#define STMMAC_CH_MAX 8
33 34
34#define STMMAC_RX_COE_NONE 035#define STMMAC_RX_COE_NONE 0
35#define STMMAC_RX_COE_TYPE1 136#define STMMAC_RX_COE_TYPE1 1