aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-08-14 07:25:55 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2023-08-15 10:09:37 +0000
commit947057d7310cd1602119258c6b82fbb25fe1b79d (patch)
treebbecf0062a34f3a595287664282c7641b56c7cb5 /resources
parent9aaade66aee4d1f1ca57aca272128db201a6f6cc (diff)
fix(core): Pylint leftovers
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I8d3e93f61ba7929b79da386fbfcece992fea7324
Diffstat (limited to 'resources')
-rw-r--r--resources/libraries/python/DUTSetup.py4
-rw-r--r--resources/libraries/python/QATUtil.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/resources/libraries/python/DUTSetup.py b/resources/libraries/python/DUTSetup.py
index 9fc525cab7..66ae2294a3 100644
--- a/resources/libraries/python/DUTSetup.py
+++ b/resources/libraries/python/DUTSetup.py
@@ -306,11 +306,11 @@ class DUTSetup:
: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.
"""
diff --git a/resources/libraries/python/QATUtil.py b/resources/libraries/python/QATUtil.py
index be8cc9561e..09f6692aef 100644
--- a/resources/libraries/python/QATUtil.py
+++ b/resources/libraries/python/QATUtil.py
@@ -61,7 +61,7 @@ class QATUtil:
# 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"]
)