[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <PH0PR11MB50132DC49D9B5AAF419764FD96AFA@PH0PR11MB5013.namprd11.prod.outlook.com>
Date: Thu, 9 Nov 2023 10:32:40 +0000
From: "Buvaneswaran, Sujai" <sujai.buvaneswaran@...el.com>
To: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>,
"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>
CC: "Drewek, Wojciech" <wojciech.drewek@...el.com>, "Szycik, Marcin"
<marcin.szycik@...el.com>, "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"Brandeburg, Jesse" <jesse.brandeburg@...el.com>, "Kitszel, Przemyslaw"
<przemyslaw.kitszel@...el.com>, "Keller, Jacob E" <jacob.e.keller@...el.com>,
"Raczynski, Piotr" <piotr.raczynski@...el.com>
Subject: RE: [Intel-wired-lan] [PATCH iwl-next v1 15/15] ice: reserve number
of CP queues
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of
> Michal Swiatkowski
> Sent: Tuesday, October 24, 2023 4:39 PM
> To: intel-wired-lan@...ts.osuosl.org
> Cc: Drewek, Wojciech <wojciech.drewek@...el.com>; Szycik, Marcin
> <marcin.szycik@...el.com>; netdev@...r.kernel.org; Brandeburg, Jesse
> <jesse.brandeburg@...el.com>; Kitszel, Przemyslaw
> <przemyslaw.kitszel@...el.com>; Keller, Jacob E <jacob.e.keller@...el.com>;
> Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>; Raczynski, Piotr
> <piotr.raczynski@...el.com>
> Subject: [Intel-wired-lan] [PATCH iwl-next v1 15/15] ice: reserve number of
> CP queues
>
> Rebuilding CP VSI each time the PR is created drastically increase the time of
> maximum VFs creation. Add function to reserve number of CP queues to deal
> with this problem.
>
> Use the same function to decrease number of queues in case of removing
> VFs. Assume that caller of ice_eswitch_reserve_cp_queues() will also call
> ice_eswitch_attach/detach() correct number of times.
>
> Still one by one PR adding is handy for VF resetting routine.
>
> Reviewed-by: Wojciech Drewek <wojciech.drewek@...el.com>
> Signed-off-by: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice.h | 6 +++
> drivers/net/ethernet/intel/ice/ice_eswitch.c | 52 +++++++++++++++++---
> drivers/net/ethernet/intel/ice/ice_eswitch.h | 4 ++
> drivers/net/ethernet/intel/ice/ice_sriov.c | 3 ++
> 4 files changed, 58 insertions(+), 7 deletions(-)
>
Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@...el.com>
Powered by blists - more mailing lists