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
3030
3131 #define MTL_MAX_RX_QUEUES 8
3232 #define MTL_MAX_TX_QUEUES 8
33+#define STMMAC_CH_MAX 8
3334
3435 #define STMMAC_RX_COE_NONE 0
3536 #define STMMAC_RX_COE_TYPE1 1