[Intel-wired-lan] [PATCH iwl-net v2 1/2] ice: move ice_vsi_realloc_stat_arrays() up
Loktionov, Aleksandr
aleksandr.loktionov at intel.com
Mon Jul 13 14:13:34 UTC 2026
> -----Original Message-----
> From: Kitszel, Przemyslaw <przemyslaw.kitszel at intel.com>
> Sent: Tuesday, July 7, 2026 12:44 AM
> To: intel-wired-lan at lists.osuosl.org; Schmidt, Michal
> <mschmidt at redhat.com>; Jakub Kicinski <kuba at kernel.org>
> Cc: netdev at vger.kernel.org; Nguyen, Anthony L
> <anthony.l.nguyen at intel.com>; Loktionov, Aleksandr
> <aleksandr.loktionov at intel.com>; Andrew Lunn <andrew+netdev at lunn.ch>;
> David S. Miller <davem at davemloft.net>; Eric Dumazet
> <edumazet at google.com>; Paolo Abeni <pabeni at redhat.com>; Jagielski,
> Jedrzej <jedrzej.jagielski at intel.com>; Kwapulinski, Piotr
> <piotr.kwapulinski at intel.com>; Kitszel, Przemyslaw
> <przemyslaw.kitszel at intel.com>; Marcin Szycik
> <marcin.szycik at linux.intel.com>
> Subject: [PATCH iwl-net v2 1/2] ice: move
> ice_vsi_realloc_stat_arrays() up
>
> Move ice_vsi_realloc_stat_arrays() up, to allow calling it from
> ice_vsi_cfg_def() by the next commit.
>
> Fix kdoc for touched code. One line break removed, "int i" scope
> minimized to the loop, no changes otherwise.
>
> Reviewed-by: Marcin Szycik <marcin.szycik at linux.intel.com>
> Signed-off-by: Przemek Kitszel <przemyslaw.kitszel at intel.com>
> ---
> v2: no changes
> ---
> drivers/net/ethernet/intel/ice/ice_lib.c | 119 +++++++++++-----------
> -
> 1 file changed, 59 insertions(+), 60 deletions(-)
>
> diff --git a/drivers/net/ethernet/intel/ice/ice_lib.c
> b/drivers/net/ethernet/intel/ice/ice_lib.c
> index 8cdc4fda89e9..e48ee5940f17 100644
> --- a/drivers/net/ethernet/intel/ice/ice_lib.c
> +++ b/drivers/net/ethernet/intel/ice/ice_lib.c
> @@ -2303,6 +2303,65 @@ static int ice_vsi_cfg_tc_lan(struct ice_pf
> *pf, struct ice_vsi *vsi)
> return 0;
> }
>
...
> /**
> * ice_vsi_rebuild - Rebuild VSI after reset
> * @vsi: VSI to be rebuild
> --
> 2.54.0
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov at intel.com>
More information about the Intel-wired-lan
mailing list