[Intel-wired-lan] [PATCH S8 13/16] ice: Remove node before releasing VSI

Bowers, AndrewX andrewx.bowers at intel.com
Tue Oct 30 22:01:59 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Anirudh Venkataramanan
> Sent: Friday, October 26, 2018 10:41 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S8 13/16] ice: Remove node before
> releasing VSI
> 
> Before releasing the VSI, remove the VSI scheduler node. If not, the node is
> left in the scheduler tree and, on subsequent load, the scheduler tree
> contains the node so it does not set it in vsi_ctx.
> This, later, causes the node to not be found in ice_sched_get_free_qparent
> which leads to a "Failed to set LAN Tx queue context, error: -1".
> 
> To remove the scheduler node, this patch introduces ice_rm_vsi_lan_cfg and
> related helpers.
> 
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_lib.c   |   1 +
>  drivers/net/ethernet/intel/ice/ice_sched.c | 108
> ++++++++++++++++++++++++++++-
>  drivers/net/ethernet/intel/ice/ice_sched.h |   2 +
>  3 files changed, 110 insertions(+), 1 deletion(-)

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




More information about the Intel-wired-lan mailing list