[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b46bc1e9-ebd0-3ed2-587e-014e6ca3e3d7@intel.com>
Date: Wed, 15 Nov 2023 12:25:07 +0100
From: Przemek Kitszel <przemyslaw.kitszel@...el.com>
To: Tony Nguyen <anthony.l.nguyen@...el.com>, <davem@...emloft.net>,
<kuba@...nel.org>, <pabeni@...hat.com>, <edumazet@...gle.com>,
<netdev@...r.kernel.org>
CC: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>,
<wojciech.drewek@...el.com>, <marcin.szycik@...el.com>,
<piotr.raczynski@...el.com>, Sujai Buvaneswaran
<sujai.buvaneswaran@...el.com>
Subject: Re: [PATCH net-next 12/15] ice: realloc VSI stats arrays
On 11/14/23 19:14, Tony Nguyen wrote:
> From: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>
>
> Previously only case when queues amount is lower was covered. Implement
> realloc for case when queues amount is higher than previous one. Use
> krealloc() function and zero new allocated elements.
>
> It has to be done before ice_vsi_def_cfg(), because stats element for
> ring is set there.
>
> Reviewed-by: Wojciech Drewek <wojciech.drewek@...el.com>
> Signed-off-by: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>
> Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@...el.com>
> Signed-off-by: Tony Nguyen <anthony.l.nguyen@...el.com>
> ---
> drivers/net/ethernet/intel/ice/ice_lib.c | 58 ++++++++++++++++--------
> 1 file changed, 39 insertions(+), 19 deletions(-)
>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@...el.com>
Powered by blists - more mailing lists