[Intel-wired-lan] [PATCH 14/16] ice: Use the right function to enable/disable VSI

Bowers, AndrewX andrewx.bowers at intel.com
Wed Sep 26 16:58:16 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Anirudh Venkataramanan
> Sent: Wednesday, September 19, 2018 5:24 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH 14/16] ice: Use the right function to
> enable/disable VSI
> 
> From: Dave Ertman <david.m.ertman at intel.com>
> 
> The ice_ena/dis_vsi should have a single differentiating factor to determine
> if the netdev_ops call is used or a direct call to ice_vsi_open/close.  This is if
> the netif is running or not.  If netif is running, use ndo_open/ndo_close.
> Else, use ice_vsi_open/ice_vsi_close.
> 
> Signed-off-by: Dave Ertman <david.m.ertman at intel.com>
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan at intel.com>
> ---
> [Anirudh Venkataramanan <anirudh.venkataramanan at intel.com> cleaned
> up commit message]
> ---
>  drivers/net/ethernet/intel/ice/ice_main.c | 23 ++++++++++++++---------
>  1 file changed, 14 insertions(+), 9 deletions(-)

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




More information about the Intel-wired-lan mailing list