> -----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 1/3] i40e: move ATR sample rate 
> from ring to PF level
>
> From: Mohammad Heib <[email protected]>
>
> The ATR sample rate is currently stored per-ring and initialized when each TX 
> ring is configured. Since the sample rate is a global policy that applies 
> uniformly across all rings, it makes more sense to store it at the PF level.
>
> Move atr_sample_rate from struct i40e_ring to struct i40e_pf and initialize 
> it once during i40e_sw_init(). Update i40e_atr() to reference the PF-level 
> field. Change atr_count from u8 to u32 to match the sample rate type.
>
> Signed-off-by: Mohammad Heib <[email protected]>
> ---
> drivers/net/ethernet/intel/i40e/i40e.h      | 1 +
> drivers/net/ethernet/intel/i40e/i40e_main.c | 9 +++------  
> drivers/net/ethernet/intel/i40e/i40e_txrx.c | 6 ++++--  
> drivers/net/ethernet/intel/i40e/i40e_txrx.h | 3 +--
> 4 files changed, 9 insertions(+), 10 deletions(-)
>

Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)

Reply via email to