[Intel-wired-lan] [next PATCH S20 13/15] i40evf: allocate queue vectors dynamically

Bowers, AndrewX andrewx.bowers at intel.com
Wed Oct 28 21:49:48 UTC 2015


>  -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Catherine Sullivan
> Sent: Monday, October 26, 2015 4:45 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S20 13/15] i40evf: allocate queue
> vectors dynamically
> 
> From: Mitch Williams <mitch.a.williams at intel.com>
> 
> Change the queue_vector array from a statically-sized member of the
> adapter structure to a dynamically-allocated and -sized array.
> 
> This reduces the size of the adapter structure, and allows us to support any
> number of queue vectors in the future without changing the code.
> 
> Signed-off-by: Mitch Williams <mitch.a.williams at intel.com>
> Change-ID: I08dc622cb2f2ad01e832e51c1ad9b86524730693
> 
> ---
> Testing-hints: Open and close the interface several times and ensure that
> traffic continues to pass.
>  drivers/net/ethernet/intel/i40evf/i40evf.h         |  5 +--
>  drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c |  2 +-
>  drivers/net/ethernet/intel/i40evf/i40evf_main.c    | 38 ++++++++++----------
> --
>  .../net/ethernet/intel/i40evf/i40evf_virtchnl.c    |  2 +-
>  4 files changed, 21 insertions(+), 26 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
Patch code changes correctly applied, interface passes traffic after opening and closing interface


More information about the Intel-wired-lan mailing list