[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 05/15] hw/nvme: Add support for SR-IOV
From: |
Klaus Jensen |
Subject: |
Re: [PATCH v5 05/15] hw/nvme: Add support for SR-IOV |
Date: |
Fri, 18 Feb 2022 08:06:27 +0100 |
On Feb 17 18:44, Lukasz Maniak wrote:
> This patch implements initial support for Single Root I/O Virtualization
> on an NVMe device.
>
> Essentially, it allows to define the maximum number of virtual functions
> supported by the NVMe controller via sriov_max_vfs parameter.
>
> Passing a non-zero value to sriov_max_vfs triggers reporting of SR-IOV
> capability by a physical controller and ARI capability by both the
> physical and virtual function devices.
>
> NVMe controllers created via virtual functions mirror functionally
> the physical controller, which may not entirely be the case, thus
> consideration would be needed on the way to limit the capabilities of
> the VF.
>
> NVMe subsystem is required for the use of SR-IOV.
>
> Signed-off-by: Lukasz Maniak <lukasz.maniak@linux.intel.com>
> ---
> hw/nvme/ctrl.c | 85 ++++++++++++++++++++++++++++++++++++++--
> hw/nvme/nvme.h | 3 +-
> include/hw/pci/pci_ids.h | 1 +
> 3 files changed, 85 insertions(+), 4 deletions(-)
>
LGTM.
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
signature.asc
Description: PGP signature
- Re: [PATCH v5 01/15] pcie: Add support for Single Root I/O Virtualization (SR/IOV), (continued)
- [PATCH v5 02/15] pcie: Add some SR/IOV API documentation in docs/pcie_sriov.txt, Lukasz Maniak, 2022/02/17
- [PATCH v5 04/15] pcie: Add 1.2 version token for the Power Management Capability, Lukasz Maniak, 2022/02/17
- [PATCH v5 07/15] hw/nvme: Add support for Secondary Controller List, Lukasz Maniak, 2022/02/17
- [PATCH v5 03/15] pcie: Add a helper to the SR/IOV API, Lukasz Maniak, 2022/02/17
- [PATCH v5 06/15] hw/nvme: Add support for Primary Controller Capabilities, Lukasz Maniak, 2022/02/17
- [PATCH v5 05/15] hw/nvme: Add support for SR-IOV, Lukasz Maniak, 2022/02/17
- Re: [PATCH v5 05/15] hw/nvme: Add support for SR-IOV,
Klaus Jensen <=
- [PATCH v5 10/15] hw/nvme: Remove reg_size variable and update BAR0 size calculation, Lukasz Maniak, 2022/02/17
- [PATCH v5 08/15] hw/nvme: Implement the Function Level Reset, Lukasz Maniak, 2022/02/17
- [PATCH v5 09/15] hw/nvme: Make max_ioqpairs and msix_qsize configurable in runtime, Lukasz Maniak, 2022/02/17
- [PATCH v5 11/15] hw/nvme: Calculate BAR attributes in a function, Lukasz Maniak, 2022/02/17
- [PATCH v5 12/15] hw/nvme: Initialize capability structures for primary/secondary controllers, Lukasz Maniak, 2022/02/17
- [PATCH v5 13/15] hw/nvme: Add support for the Virtualization Management command, Lukasz Maniak, 2022/02/17
- [PATCH v5 15/15] hw/nvme: Update the initalization place for the AER queue, Lukasz Maniak, 2022/02/17
- [PATCH v5 14/15] docs: Add documentation for SR-IOV and Virtualization Enhancements, Lukasz Maniak, 2022/02/17