> -----Original Message-----
> From: Qiming Yang <qiming.y...@intel.com>
> Sent: Friday, December 16, 2022 11:12 AM
> To: dev@dpdk.org; Xing, Beilei <beilei.x...@intel.com>
> Cc: Yang, Qiming <qiming.y...@intel.com>
> Subject: [PATCH] net/i40e: reduce the ITR interval of multi-driver mode
> 
> This patch change the interrupt interval from 8160us to 32us to improve the
> performance of multi-driver mode.
> 
> Signed-off-by: Qiming Yang <qiming.y...@intel.com>

Acked-by: Qi Zhang <qi.z.zh...@intel.com>

Applied to dpdk-next-net-intel.

The patch also looks good for backporting, so added Cc stable tag.

Thanks
Qi


> ---
>  drivers/net/i40e/i40e_ethdev.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/i40e/i40e_ethdev.h b/drivers/net/i40e/i40e_ethdev.h
> index fe943a45ff..7c4cc44a27 100644
> --- a/drivers/net/i40e/i40e_ethdev.h
> +++ b/drivers/net/i40e/i40e_ethdev.h
> @@ -1497,7 +1497,7 @@ i40e_calc_itr_interval(bool is_pf, bool is_multi_drv)
>       uint16_t interval = 0;
> 
>       if (is_multi_drv) {
> -             interval = I40E_QUEUE_ITR_INTERVAL_MAX;
> +             interval = I40E_QUEUE_ITR_INTERVAL_DEFAULT;
>       } else {
>               if (is_pf)
>                       interval = I40E_QUEUE_ITR_INTERVAL_DEFAULT;
> --
> 2.25.1

Reply via email to