> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of
> Michal Swiatkowski
> Sent: Tuesday, October 24, 2023 4:39 PM
> To: [email protected]
> Cc: Drewek, Wojciech <[email protected]>; Szycik, Marcin
> <[email protected]>; [email protected]; Brandeburg, Jesse
> <[email protected]>; Kitszel, Przemyslaw
> <[email protected]>; Keller, Jacob E <[email protected]>;
> Michal Swiatkowski <[email protected]>; Raczynski, Piotr
> <[email protected]>
> 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 <[email protected]>
> Signed-off-by: Michal Swiatkowski <[email protected]>
> ---
>  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 <[email protected]>
_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan

Reply via email to