[Intel-wired-lan] [net-next PATCH 16/25] ice: move reset functionality into ice_vf_lib.c

Jankowski, Konrad0 konrad0.jankowski at intel.com
Wed Mar 2 19:56:27 UTC 2022



> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Jacob Keller
> Sent: Wednesday, February 23, 2022 1:27 AM
> To: Intel Wired LAN <intel-wired-lan at lists.osuosl.org>
> Subject: [Intel-wired-lan] [net-next PATCH 16/25] ice: move reset
> functionality into ice_vf_lib.c
> 
> Now that the reset functions do not rely on Single Root specific behavior,
> move the ice_reset_vf, ice_reset_all_vfs, and ice_vf_rebuild_host_cfg
> functions and their dependent helper functions out of ice_sriov.c and into
> ice_vf_lib.c
> 
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_sriov.c    | 475 ------------------
>  drivers/net/ethernet/intel/ice/ice_sriov.h    |  15 -
>  drivers/net/ethernet/intel/ice/ice_vf_lib.c   | 475 ++++++++++++++++++
>  drivers/net/ethernet/intel/ice/ice_vf_lib.h   |  12 +
>  .../ethernet/intel/ice/ice_vf_lib_private.h   |   1 +
>  5 files changed, 488 insertions(+), 490 deletions(-)
> 
> diff --git a/drivers/net/ethernet/intel/ice/ice_sriov.c
> b/drivers/net/ethernet/intel/ice/ice_sriov.c
> index b2376e3b746e..4a8cf8f646c8 100644
> --- a/drivers/net/ethernet/intel/ice/ice_sriov.c
> +++ b/drivers/net/ethernet/intel/ice/ice_sriov.c
> @@ -466,37 +466,6 @@ void ice_free_vfs(struct ice_pf *pf)

Tested-by: Konrad Jankowski <konrad0.jankowski at intel.com>


More information about the Intel-wired-lan mailing list