]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/spdk/scripts/rpc/ioat.py
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / spdk / scripts / rpc / ioat.py
index 958e18bb4d6f831816f153b3c8c0c642bf1618d2..ae43a3c3f73f8d47ea1ed92d909d8cc468d87f11 100644 (file)
@@ -1,5 +1,10 @@
-def scan_ioat_copy_engine(client, pci_whitelist):
-    """Scan and enable IOAT copy engine.
+from .helpers import deprecated_alias
+
+
+@deprecated_alias('ioat_scan_copy_engine')
+@deprecated_alias('scan_ioat_copy_engine')
+def ioat_scan_accel_engine(client, pci_whitelist):
+    """Scan and enable IOAT accel engine.
 
     Args:
         pci_whitelist: Python list of PCI addresses in
@@ -9,4 +14,4 @@ def scan_ioat_copy_engine(client, pci_whitelist):
     params = {}
     if pci_whitelist:
         params['pci_whitelist'] = pci_whitelist
-    return client.call('scan_ioat_copy_engine', params)
+    return client.call('ioat_scan_accel_engine', params)