[Intel-wired-lan] [PATCH net-next v3 08/12] ice: introduce new type of VSI for switchdev

Penigalapati, Sandeep sandeep.penigalapati at intel.com
Wed Aug 11 05:25:59 UTC 2021


>-----Original Message-----
>From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
>Michal Swiatkowski
>Sent: Friday, June 25, 2021 8:15 AM
>To: intel-wired-lan at lists.osuosl.org
>Subject: [Intel-wired-lan] [PATCH net-next v3 08/12] ice: introduce new type of
>VSI for switchdev
>
>From: Grzegorz Nitka <grzegorz.nitka at intel.com>
>
>New type of VSI has to be defined for switchdev control plane VSI. Number of
>allocated Tx and Rx queue has to be equeal to amount of VFs, because each
>port representor should have one Tx and Rx queue.
>
>Also to not increase number of used irqs too much, control plane VSI uses
>only one q_vector and handle all queues in one irq.
>To allow handling all queues in one irq , new function to clean msix for
>eswitch was introduced. This function will shedule napi for each representor
>instead of sheduling it only for one like in normal clean irq function.
>
>Only one additional msix has to be requested. Always try to request it in
>ice_ena_msix_range function.
>
>Signed-off-by: Grzegorz Nitka <grzegorz.nitka at intel.com>
>---
> drivers/net/ethernet/intel/ice/ice.h         |  1 +
> drivers/net/ethernet/intel/ice/ice_base.c    | 37 ++++++++++++++-
> drivers/net/ethernet/intel/ice/ice_eswitch.c |  2 +-
> drivers/net/ethernet/intel/ice/ice_lib.c     | 48 +++++++++++++++++++-
> drivers/net/ethernet/intel/ice/ice_main.c    |  7 +++
> drivers/net/ethernet/intel/ice/ice_type.h    |  1 +
> 6 files changed, 93 insertions(+), 3 deletions(-)
>
Tested-by: Sandeep Penigalapati <sandeep.penigalapati at intel.com>


More information about the Intel-wired-lan mailing list