From: Przemek Kitszel <przemyslaw.kitszel@intel.com>
To: Tony Nguyen <anthony.l.nguyen@intel.com>, <davem@davemloft.net>,
<kuba@kernel.org>, <pabeni@redhat.com>, <edumazet@google.com>,
<netdev@vger.kernel.org>
Cc: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>,
<wojciech.drewek@intel.com>, <marcin.szycik@intel.com>,
<piotr.raczynski@intel.com>,
Sujai Buvaneswaran <sujai.buvaneswaran@intel.com>
Subject: Re: [PATCH net-next 12/15] ice: realloc VSI stats arrays
Date: Wed, 15 Nov 2023 12:25:07 +0100 [thread overview]
Message-ID: <b46bc1e9-ebd0-3ed2-587e-014e6ca3e3d7@intel.com> (raw)
In-Reply-To: <20231114181449.1290117-13-anthony.l.nguyen@intel.com>
On 11/14/23 19:14, Tony Nguyen wrote:
> From: Michal Swiatkowski <michal.swiatkowski@linux.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@intel.com>
> Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
> Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@intel.com>
> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice_lib.c | 58 ++++++++++++++++--------
> 1 file changed, 39 insertions(+), 19 deletions(-)
>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
next prev parent reply other threads:[~2023-11-15 11:25 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-14 18:14 [PATCH net-next 00/15][pull request] ice: one by one port representors creation Tony Nguyen
2023-11-14 18:14 ` [PATCH net-next 01/15] ice: rename switchdev to eswitch Tony Nguyen
2023-11-14 18:14 ` [PATCH net-next 02/15] ice: remove redundant max_vsi_num variable Tony Nguyen
2023-11-14 18:14 ` [PATCH net-next 03/15] ice: remove unused control VSI parameter Tony Nguyen
2023-11-14 18:14 ` [PATCH net-next 04/15] ice: track q_id in representor Tony Nguyen
2023-11-14 18:14 ` [PATCH net-next 05/15] ice: use repr instead of vf->repr Tony Nguyen
2023-11-14 18:14 ` [PATCH net-next 06/15] ice: track port representors in xarray Tony Nguyen
2023-11-14 18:14 ` [PATCH net-next 07/15] ice: remove VF pointer reference in eswitch code Tony Nguyen
2023-11-14 18:14 ` [PATCH net-next 08/15] ice: make representor code generic Tony Nguyen
2023-11-14 18:14 ` [PATCH net-next 09/15] ice: return pointer to representor Tony Nguyen
2023-11-14 18:14 ` [PATCH net-next 10/15] ice: allow changing SWITCHDEV_CTRL VSI queues Tony Nguyen
2023-11-14 18:14 ` [PATCH net-next 11/15] ice: set Tx topology every time new repr is added Tony Nguyen
2023-11-14 18:14 ` [PATCH net-next 12/15] ice: realloc VSI stats arrays Tony Nguyen
2023-11-15 11:25 ` Przemek Kitszel [this message]
2023-11-14 18:14 ` [PATCH net-next 13/15] ice: add VF representors one by one Tony Nguyen
2023-11-20 19:54 ` Simon Horman
2023-11-14 18:14 ` [PATCH net-next 14/15] ice: adjust switchdev rebuild path Tony Nguyen
2023-11-14 18:14 ` [PATCH net-next 15/15] ice: reserve number of CP queues Tony Nguyen
2023-11-14 22:32 ` [PATCH net-next 00/15][pull request] ice: one by one port representors creation Jakub Kicinski
2023-11-14 23:06 ` Tony Nguyen
2023-11-19 3:50 ` patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b46bc1e9-ebd0-3ed2-587e-014e6ca3e3d7@intel.com \
--to=przemyslaw.kitszel@intel.com \
--cc=anthony.l.nguyen@intel.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=marcin.szycik@intel.com \
--cc=michal.swiatkowski@linux.intel.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=piotr.raczynski@intel.com \
--cc=sujai.buvaneswaran@intel.com \
--cc=wojciech.drewek@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).