[Intel-wired-lan] [PATCH iwl-next v4 2/3] i40e: add devlink parameter for Flow Director ATR sample rate
Rinitha, SX
sx.rinitha at intel.com
Fri Sep 11 15:23:27 UTC 2026
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of mheib at redhat.com
> Sent: 23 July 2026 19:34
> To: intel-wired-lan at lists.osuosl.org
> Cc: netdev at vger.kernel.org; jiri at resnulli.us; davem at davemloft.net; edumazet at google.com; kuba at kernel.org; pabeni at redhat.com; corbet at lwn.net; Nguyen, Anthony L <anthony.l.nguyen at intel.com>; Kitszel, Przemyslaw <przemyslaw.kitszel at intel.com>; andrew+netdev at lunn.ch; horms at kernel.org; Mohammad Heib <mheib at redhat.com>
> Subject: [Intel-wired-lan] [PATCH iwl-next v4 2/3] i40e: add devlink parameter for Flow Director ATR sample rate
>
> From: Mohammad Heib <mheib at redhat.com>
>
> The i40e driver uses Flow Director ATR to periodically update flow steering information for active TCP flows. The update frequency is currently controlled by I40E_DEFAULT_ATR_SAMPLE_RATE and is fixed at driver build time.
>
> On systems with a large number of queues and high-rate TCP workloads, the default sampling interval can result in frequent Flow Director reprogramming for long-lived flows.
>
> The amount of TCP packet reordering observed on some systems is sensitive to the ATR sampling interval. Increasing the interval reduces Flow Director programming activity and can significantly reduce the associated reordering.
>
> Since the optimal sampling interval depends on the workload and system configuration, a single fixed value is not suitable for all deployments.
>
> Add a devlink parameter to allow administrators to tune the ATR sample rate at runtime without rebuilding the driver or disabling ATR functionality entirely.
>
> Signed-off-by: Mohammad Heib <mheib at redhat.com>
> ---
> Documentation/networking/devlink/i40e.rst | 20 +++++++++++
> .../net/ethernet/intel/i40e/i40e_devlink.c | 36 +++++++++++++++++++
> 2 files changed, 56 insertions(+)
>
Tested-by: Rinitha S <sx.rinitha at intel.com> (A Contingent worker at Intel)
More information about the Intel-wired-lan
mailing list