[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BL0PR11MB3521F9C69BE9E9D636D5D1058FD4A@BL0PR11MB3521.namprd11.prod.outlook.com>
Date: Thu, 19 Oct 2023 10:18:27 +0000
From: "Romanowski, Rafal" <rafal.romanowski@...el.com>
To: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>,
"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>, "Fijalkowski, Maciej"
<maciej.fijalkowski@...el.com>, "Kitszel, Przemyslaw"
<przemyslaw.kitszel@...el.com>
Subject: RE: [Intel-wired-lan] [PATCH iwl-next v2 0/4] change MSI-X vectors
per VF
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of
> Michal Swiatkowski
> Sent: Monday, September 18, 2023 8:24 AM
> To: intel-wired-lan@...ts.osuosl.org
> Cc: netdev@...r.kernel.org; Michal Swiatkowski
> <michal.swiatkowski@...ux.intel.com>; Fijalkowski, Maciej
> <maciej.fijalkowski@...el.com>; Kitszel, Przemyslaw
> <przemyslaw.kitszel@...el.com>
> Subject: [Intel-wired-lan] [PATCH iwl-next v2 0/4] change MSI-X vectors per
> VF
>
> Hi,
>
> This patchset is implementing sysfs API introduced here [1].
>
> It will allow user to assign different amount of MSI-X vectors to VF.
> For example when there are VMs with different number of virtual cores.
>
> Example:
> 1. Turn off autoprobe
> echo 0 > /sys/bus/pci/devices/0000\:18\:00.0/sriov_drivers_autoprobe
> 2. Create VFs
> echo 4 > /sys/bus/pci/devices/0000\:18\:00.0/sriov_numvfs
> 3. Configure MSI-X
> echo 20 >
> /sys/class/pci_bus/0000\:18/device/0000\:18\:01.0/sriov_vf_msix_count
>
> v1 --> v2: [2] (Sorry for long time between versions)
> * rebase
> * reword commit message in ice: implement num_msix field per VF
>
> [1] https://lore.kernel.org/netdev/20210314124256.70253-1-
> leon@...nel.org/
> [2] https://lore.kernel.org/netdev/20230615123830.155927-1-
> michal.swiatkowski@...ux.intel.com/
>
> Michal Swiatkowski (4):
> ice: implement num_msix field per VF
> ice: add bitmap to track VF MSI-X usage
> ice: set MSI-X vector count on VF
> ice: manage VFs MSI-X using resource tracking
>
> drivers/net/ethernet/intel/ice/ice.h | 2 +
> drivers/net/ethernet/intel/ice/ice_lib.c | 2 +-
> drivers/net/ethernet/intel/ice/ice_main.c | 2 +
> drivers/net/ethernet/intel/ice/ice_sriov.c | 257 ++++++++++++++++--
> drivers/net/ethernet/intel/ice/ice_sriov.h | 13 +
> drivers/net/ethernet/intel/ice/ice_vf_lib.h | 4 +-
> drivers/net/ethernet/intel/ice/ice_virtchnl.c | 2 +-
> 7 files changed, 258 insertions(+), 24 deletions(-)
>
> --
> 2.41.0
>
> _______________________________________________
> Intel-wired-lan mailing list
> Intel-wired-lan@...osl.org
> https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
Tested-by: Rafal Romanowski <rafal.romanowski@...el.com>
Powered by blists - more mailing lists