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.
Showing the changes to include/linux (1 of 4 files). Show all
Unified · Split
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | |
| 31 | 31 | #define MTL_MAX_RX_QUEUES 8 |
| 32 | 32 | #define MTL_MAX_TX_QUEUES 8 |
| 33 | +#define STMMAC_CH_MAX 8 | |
| 33 | 34 | |
| 34 | 35 | #define STMMAC_RX_COE_NONE 0 |
| 35 | 36 | #define STMMAC_RX_COE_TYPE1 1 |