> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > [email protected] > Sent: 23 July 2026 19:34 > To: [email protected] > Cc: [email protected]; [email protected]; [email protected]; > [email protected]; [email protected]; [email protected]; [email protected]; > Nguyen, Anthony L <[email protected]>; Kitszel, Przemyslaw > <[email protected]>; [email protected]; [email protected]; > Mohammad Heib <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-next v4 2/3] i40e: add devlink > parameter for Flow Director ATR sample rate > > From: Mohammad Heib <[email protected]> > > 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 <[email protected]> > --- > Documentation/networking/devlink/i40e.rst | 20 +++++++++++ > .../net/ethernet/intel/i40e/i40e_devlink.c | 36 +++++++++++++++++++ > 2 files changed, 56 insertions(+) >
Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)
