Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I8d3e93f61ba7929b79da386fbfcece992fea7324
:param node: DUT node.
:param pf_pci_addr: Physical Function PCI device address.
- :param type: Either device or driver.
+ :param path: Either device or driver.
:param numvfs: Number of VFs to initialize, 0 - removes the VFs.
:type node: dict
:type pf_pci_addr: str
- :type type: str
+ :type path: str
:type numvfs: int
:raises RuntimeError: Failed to create VFs on PCI.
"""
# Initialize QAT VFs.
if int(device["numvfs"]) > 0:
DUTSetup.set_sriov_numvfs(
- node, device["pci_address"], type="drivers/4xxx",
+ node, device["pci_address"], path="drivers/4xxx",
numvfs=device["numvfs"]
)