[Intel-wired-lan] [next PATCH S90 7/8] i40e/i40evf: take into account queue map from vf when handling queues

Bowers, AndrewX andrewx.bowers at intel.com
Mon Apr 23 20:58:31 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alice Michael
> Sent: Friday, April 20, 2018 1:42 AM
> To: Michael, Alice <alice.michael at intel.com>; intel-wired-
> lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S90 7/8] i40e/i40evf: take into account
> queue map from vf when handling queues
> 
> From: Harshitha Ramamurthy <harshitha.ramamurthy at intel.com>
> 
> The expectation of the ops VIRTCHNL_OP_ENABLE_QUEUES and
> VIRTCHNL_OP_DISABLE_QUEUES is that the queue map sent by the VF is
> taken into account when enabling/disabling queues in the VF VSI. This patch
> makes sure that happens.
> 
> By breaking out the individual queue set up functions so that they can be
> called directly from the i40e_virtchnl_pf.c file, only the queues as specified
> by the queue bit map that accompanies the enable/disable queues ops will
> be handled.
> 
> Signed-off-by: Harshitha Ramamurthy <harshitha.ramamurthy at intel.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e.h             |  3 +
>  drivers/net/ethernet/intel/i40e/i40e_main.c        | 40 +++++++++----
>  drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 69
> +++++++++++++++++++++-
>  3 files changed, 99 insertions(+), 13 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list