Re: [PATCH v1 net-next] net: lan743x: configure interrupt moderation timers based on speed
From: Jakub Kicinski
Date: Thu May 08 2025 - 09:54:31 EST
On Thu, 8 May 2025 03:36:17 +0000 Thangaraj.S@xxxxxxxxxxxxx wrote:
> I agree with your comments and will implement the ethtool option to
> provide flexibility, while keeping the default behavior as defined in
> this patch based on speed.
Why the speed based defaults? Do other vendors do that?
330usec is a very high latency, and if the link is running
at 10M we probably don't need IRQ moderation at all?
For Tx deferring the completion based on link speed makes sense.
We want an IRQ for a fixed amount of data, doesn't matter how
fast its going out. But for Rx the more aggressive the moderation
the higher the latency. In my experience the Rx moderation should
not depend on link speed.
reminder: please avoid top posting