diff options
author | Brett Creeley <brett.creeley@amd.com> | 2023-08-07 23:57:51 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2023-08-16 19:53:20 +0300 |
commit | 63f77a7161a2df9924eea9be3b6c63be10151252 (patch) | |
tree | 399103fd5310a959d3121564f2cacb93d984c8fc /drivers/vfio/pci/pds/Makefile | |
parent | b021d05e106e14b603a584b38ce62720e7d0f363 (diff) | |
download | linux-63f77a7161a2df9924eea9be3b6c63be10151252.tar.xz |
vfio/pds: register with the pds_core PF
The pds_core driver will supply adminq services, so find the PF
and register with the DSC services.
Use the following commands to enable a VF:
echo 1 > /sys/bus/pci/drivers/pds_core/$PF_BDF/sriov_numvfs
Signed-off-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20230807205755.29579-5-brett.creeley@amd.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/pci/pds/Makefile')
-rw-r--r-- | drivers/vfio/pci/pds/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vfio/pci/pds/Makefile b/drivers/vfio/pci/pds/Makefile index e5e53a6d86d1..91587c7fe8f9 100644 --- a/drivers/vfio/pci/pds/Makefile +++ b/drivers/vfio/pci/pds/Makefile @@ -4,5 +4,6 @@ obj-$(CONFIG_PDS_VFIO_PCI) += pds-vfio-pci.o pds-vfio-pci-y := \ + cmds.o \ pci_drv.o \ vfio_dev.o |