[Intel-wired-lan] [intel-next PATCH 08/14] ice: declare ice_vc_process_vf_msg in ice_virtchnl.h

Szlosek, Marek marek.szlosek at intel.com
Fri Mar 10 13:17:37 UTC 2023



> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Jacob Keller
> Sent: środa, 22 lutego 2023 18:09
> To: Intel Wired LAN <intel-wired-lan at lists.osuosl.org>
> Cc: Nguyen, Anthony L <anthony.l.nguyen at intel.com>; Brandeburg, Jesse
> <jesse.brandeburg at intel.com>
> Subject: [Intel-wired-lan] [intel-next PATCH 08/14] ice: declare
> ice_vc_process_vf_msg in ice_virtchnl.h
> 
> The ice_vc_process_vf_msg function is the main entry point for handling
> virtchnl messages. This function is defined in ice_virtchnl.c but its declaration
> is still in ice_sriov.c
> 
> The ice_sriov.c file used to contain all of the virtualization logic until commit
> bf93bf791cec ("ice: introduce ice_virtchnl.c and ice_virtchnl.h") moved the
> virtchnl logic to its own file.
> 
> The ice_vc_process_vf_msg function should have had its declaration moved
> to ice_virtchnl.h then. Fix this.
> 
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> Reviewed-by: Michal Swiatkowski <michal.swiatkowski at linux.intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_sriov.h    | 3 ---
>  drivers/net/ethernet/intel/ice/ice_virtchnl.h | 6 ++++++
>  2 files changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/net/ethernet/intel/ice/ice_sriov.h
> b/drivers/net/ethernet/intel/ice/ice_sriov.h
> index 955ab810a198..1082b0691a3f 100644
> --- a/drivers/net/ethernet/intel/ice/ice_sriov.h
> +++ b/drivers/net/ethernet/intel/ice/ice_sriov.h

Tested-by: Marek Szlosek <marek.szlosek at intel.com>


More information about the Intel-wired-lan mailing list