[Intel-wired-lan] [net-next PATCH S5 11/15 v2] i40e/i40evf: Fix and refactor dynamic ITR code

Young, James M james.m.young at intel.com
Fri Jun 19 23:14:24 UTC 2015


> ---------- Forwarded message ----------
> From: Catherine Sullivan <catherine.sullivan at intel.com>
> Date: Wed, Jun 10, 2015 at 10:42 AM
> Subject: [Intel-wired-lan] [net-next PATCH S5 11/15 v2] i40e/i40evf:
> Fix and refactor dynamic ITR code
> To: intel-wired-lan at lists.osuosl.org
> Cc: Anjali Singhai Jain <anjali.singhai at intel.com>, Akeem G Abodunrin
> <akeem.g.abodunrin at intel.com>
> 
> 
> From: Carolyn Wyborny <carolyn.wyborny at intel.com>
> 
> This patch changes the switch statement for dynamic interrupt throttling and
> adds a default case. With this patch, we check the latency setting instead of
> the current ITR settings and the included refactor improves performance.
> 
> Without this patch, the ITR setting would never change dynamically, and
> there was no default.
> 
> Signed-off-by: Carolyn Wyborny <carolyn.wyborny at intel.com>
> Signed-off-by: Anjali Singhai Jain <anjali.singhai at intel.com>
> Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin at intel.com>
> Signed-off-by: Jesse Brandeburg <jesse.brandeburg at intel.com>
> Signed-off-by: Mitch Willivam <mitch.a.williams at intel.com>
> Change-ID: Idb5a8a14c7109ec47c90f6e94bd43baa17d7ee37
> ---
> v2: Fix i40e_update_enable_itr in i40evf/i40e_txrx.c to write the register
> I40E_VF_INT_DYN_CTLN1 instead of I40E_VF_INT_DYN_CTLN in two places.
> 
>  drivers/net/ethernet/intel/i40e/i40e_txrx.c   | 146 ++++++++++++++++-----
> -----
>  drivers/net/ethernet/intel/i40evf/i40e_txrx.c | 113 +++++++++++++-------
>  2 files changed, 161 insertions(+), 98 deletions(-)
>
Tested-by: Jim Young <james.m.young at intel.com>

Retested in ww25 with v2 patch. 


More information about the Intel-wired-lan mailing list