[Intel-wired-lan] [net-next S5 12/15] i40e/i40evf: Add support for pre-allocated pages for PD

Young, James M james.m.young at intel.com
Tue Jun 16 21:45:12 UTC 2015


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Catherine Sullivan
> Sent: Monday, April 27, 2015 11:57 AM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Latif, Faisal
> Subject: [Intel-wired-lan] [net-next S5 12/15] i40e/i40evf: Add support for
> pre-allocated pages for PD
> 
> From: Faisal Latif <faisal.latif at intel.com>
> 
> The i40e_add_pd_table_entry() routine is being modified to handle both
> cases where a backing page is passed and where backing page is allocated in
> i40e_add_pd_table_entry().
> 
> For PBLE resource management, it is more efficient for it to manage its
> backing pages. For VF, PBLE backing page addresses will be send to PF driver
> for PBLE resource.
> 
> The i40e_remove_pd_bp() is also modified to not free pre-allocated pages
> and free only ones which were allocated in i40e_add_pd_table_entry().
> 
> Signed-off-by: Faisal Latif <faisal.latif at intel.com>
> Change-ID: Ie673f0403f22979e9406f5a94048dceb91bcf9a8
> ---
>  drivers/net/ethernet/intel/i40e/i40e_hmc.c     | 30 +++++++++++++++++-------
> --
>  drivers/net/ethernet/intel/i40e/i40e_hmc.h     |  4 +++-
>  drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c |  2 +-
>  drivers/net/ethernet/intel/i40evf/i40e_hmc.h   |  4 +++-
>  4 files changed, 27 insertions(+), 13 deletions(-)
> 

Tested-by: Jim Young <james.m.young at intel.com>



More information about the Intel-wired-lan mailing list