[PATCH net-next v1] net: stmmac: xgmac: increase length limit of descriptor ring
Andrew Lunn
andrew at lunn.ch
Thu Jun 20 20:12:27 PDT 2024
> Heavy incoming traffic on some heavy load system, the max 1024 limit defined
> by DMA_MAX_RX_SIZE in drivers/net/ethernet/stmicro/stmmac/common.h is too
> few to achieve high throughput for XGMAC.
> With this patch, ethtool can set a new length than 1024
Please include some benchmark results to show the improvement.
But at some point, more buffers don't help you. If you are
consistently overloaded, you will still overflow the buffers. So you
might want to look at where is the bottleneck and how do you
prioritise processing packets over whatever else is loading the
system.
Maybe this would help, if the bus is the problem:
https://www.spinics.net/lists/netdev/msg1006370.html
Andrew
More information about the linux-arm-kernel
mailing list