[Intel-wired-lan] [intel-next PATCH 13/14] ice: move ice_is_malicious_vf() to ice_virtchnl.c
Szlosek, Marek
marek.szlosek at intel.com
Fri Mar 10 13:19:15 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 13/14] ice: move
> ice_is_malicious_vf() to ice_virtchnl.c
>
> The ice_is_malicious_vf() function is currently implemented in ice_sriov.c
> This function is not Single Root specific, and a future change is going to
> refactor the ice_vc_process_vf_msg() function to call this instead of calling it
> before ice_vc_process_vf_msg() in the main loop of __ice_clean_ctrlq.
>
> To make that change easier to review, first move this function into
> ice_virtchnl.c but leave the call in __ice_clean_ctrlq() alone.
>
> 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.c | 45 -------------------
> drivers/net/ethernet/intel/ice/ice_sriov.h | 11 -----
> drivers/net/ethernet/intel/ice/ice_virtchnl.c | 45 +++++++++++++++++++
> drivers/net/ethernet/intel/ice/ice_virtchnl.h | 11 +++++
> 4 files changed, 56 insertions(+), 56 deletions(-)
>
> diff --git a/drivers/net/ethernet/intel/ice/ice_sriov.c
> b/drivers/net/ethernet/intel/ice/ice_sriov.c
> index f0daeda236de..6fa62c3cedb0 100644
> --- a/drivers/net/ethernet/intel/ice/ice_sriov.c
> +++ b/drivers/net/ethernet/intel/ice/ice_sriov.c
Tested-by: Marek Szlosek <marek.szlosek at intel.com>
More information about the Intel-wired-lan
mailing list