[Intel-wired-lan] [PATCH v2 05/16] ice: Add support for VF reset events

Bowers, AndrewX andrewx.bowers at intel.com
Wed Sep 26 17:12:07 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:43 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH v2 05/16] ice: Add support for VF reset
> events
> 
> Post VF initialization, there are a couple of different ways in which a VF reset
> can be triggered. One is when the underlying PF itself goes through a reset
> and other is via a VFLR interrupt. ice_reset_vf introduced in this patch
> handles both these cases.
> 
> Also introduced in this patch is a helper function ice_aq_send_msg_to_vf to
> send messages to VF over the mailbox queue. The PF uses this to send reset
> notifications to VFs.
> 
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/Makefile          |   2 +-
>  drivers/net/ethernet/intel/ice/ice.h             |   2 +
>  drivers/net/ethernet/intel/ice/ice_adminq_cmd.h  |  17 +++
>  drivers/net/ethernet/intel/ice/ice_hw_autogen.h  |   1 +
>  drivers/net/ethernet/intel/ice/ice_main.c        |  15 +++
>  drivers/net/ethernet/intel/ice/ice_sriov.c       |  41 ++++++
>  drivers/net/ethernet/intel/ice/ice_sriov.h       |  25 ++++
>  drivers/net/ethernet/intel/ice/ice_status.h      |   3 +
>  drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c | 163
> +++++++++++++++++++++++
>  drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h |   4 +
>  10 files changed, 272 insertions(+), 1 deletion(-)  create mode 100644


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




More information about the Intel-wired-lan mailing list