diff mbox series

[net-next,v1] ice: properly alloc ICE_VSI_LB

Message ID 20230217105017.21057-1-michal.swiatkowski@linux.intel.com (mailing list archive)
State Accepted
Commit 8173c2f9a1a4a5afcf465a62bc8b616c1fef252d
Delegated to: Netdev Maintainers
Headers show
Series [net-next,v1] ice: properly alloc ICE_VSI_LB | expand

Checks

Context Check Description
netdev/tree_selection success Clearly marked for net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/subject_prefix success Link
netdev/cover_letter success Single patches do not need cover letters
netdev/patch_count success Link
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/cc_maintainers fail 1 blamed authors not CCed: jacob.e.keller@intel.com; 3 maintainers not CCed: jesse.brandeburg@intel.com intel-wired-lan@lists.osuosl.org jacob.e.keller@intel.com
netdev/build_clang success Errors and warnings before: 0 this patch: 0
netdev/module_param success Was 0 now: 0
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success Fixes tag looks correct
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Michal Swiatkowski Feb. 17, 2023, 10:50 a.m. UTC
Devlink reload patchset introduced regression. ICE_VSI_LB wasn't
taken into account when doing default allocation. Fix it by adding a
case for ICE_VSI_LB in ice_vsi_alloc_def().

Fixes: 6624e780a577 ("ice: split ice_vsi_setup into smaller functions")
Reported-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Acked-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
---
 drivers/net/ethernet/intel/ice/ice_lib.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Alexander Lobakin Feb. 17, 2023, 2:49 p.m. UTC | #1
From: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Date: Fri, 17 Feb 2023 11:50:17 +0100

> Devlink reload patchset introduced regression. ICE_VSI_LB wasn't
> taken into account when doing default allocation. Fix it by adding a
> case for ICE_VSI_LB in ice_vsi_alloc_def().
> 
> Fixes: 6624e780a577 ("ice: split ice_vsi_setup into smaller functions")
> Reported-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
> Acked-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
> Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>

Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>

Too late for 'net-final' PR which did hit the main tree already and I
believe there won't be any more until 6.2 is out, so expect it in 6.2.1
only :s

> ---
>  drivers/net/ethernet/intel/ice/ice_lib.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/net/ethernet/intel/ice/ice_lib.c b/drivers/net/ethernet/intel/ice/ice_lib.c
> index 5e81f7ae252c..3c41ebfc23d8 100644
> --- a/drivers/net/ethernet/intel/ice/ice_lib.c
> +++ b/drivers/net/ethernet/intel/ice/ice_lib.c
> @@ -627,6 +627,7 @@ ice_vsi_alloc_def(struct ice_vsi *vsi, struct ice_channel *ch)
>  		vsi->next_base_q = ch->base_q;
>  		break;
>  	case ICE_VSI_VF:
> +	case ICE_VSI_LB:
>  		break;
>  	default:
>  		ice_vsi_free_arrays(vsi);

Thanks,
Olek
patchwork-bot+netdevbpf@kernel.org Feb. 20, 2023, 10:50 a.m. UTC | #2
Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Fri, 17 Feb 2023 11:50:17 +0100 you wrote:
> Devlink reload patchset introduced regression. ICE_VSI_LB wasn't
> taken into account when doing default allocation. Fix it by adding a
> case for ICE_VSI_LB in ice_vsi_alloc_def().
> 
> Fixes: 6624e780a577 ("ice: split ice_vsi_setup into smaller functions")
> Reported-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
> Acked-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
> Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
> 
> [...]

Here is the summary with links:
  - [net-next,v1] ice: properly alloc ICE_VSI_LB
    https://git.kernel.org/netdev/net-next/c/8173c2f9a1a4

You are awesome, thank you!
diff mbox series

Patch

diff --git a/drivers/net/ethernet/intel/ice/ice_lib.c b/drivers/net/ethernet/intel/ice/ice_lib.c
index 5e81f7ae252c..3c41ebfc23d8 100644
--- a/drivers/net/ethernet/intel/ice/ice_lib.c
+++ b/drivers/net/ethernet/intel/ice/ice_lib.c
@@ -627,6 +627,7 @@  ice_vsi_alloc_def(struct ice_vsi *vsi, struct ice_channel *ch)
 		vsi->next_base_q = ch->base_q;
 		break;
 	case ICE_VSI_VF:
+	case ICE_VSI_LB:
 		break;
 	default:
 		ice_vsi_free_arrays(vsi);