Re: [PATCH net-next] net: xilinx: axienet: Configure and report coalesce parameters in DMAengine flow
From: Andrew Lunn <andrew@lunn.ch>
Date: 2025-05-29 16:29:59
Also in:
linux-arm-kernel, lkml
From: Andrew Lunn <andrew@lunn.ch>
Date: 2025-05-29 16:29:59
Also in:
linux-arm-kernel, lkml
Yeah, but the reason is that you are trading latency for throughput. There is only one queue, so when the interface is saturated you will not get good latency anyway (since latency-sensitive packets will get head-of-line blocked). But when activity is sparse you can good latency if there is no coalescing. So I think coalescing should only be used when there is a lot of traffic. Hence why I only adjusted the settings once I implemented DIM. I think you should be able to implement it by calling net_dim from axienet_dma_rx_cb, but it will not be as efficient without NAPI. Actually, if you are looking into improving performance, I think lack of NAPI is probably the biggest limitation with the dmaengine backend.
It latency is the goal, especially for mixing high and low priority traffic, having BQL implemented is also important. Does this driver have that? Andrew