]> git.proxmox.com Git - ceph.git/blob - ceph/src/spdk/scripts/rpc/ioat.py
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / spdk / scripts / rpc / ioat.py
1 def scan_ioat_copy_engine(client, pci_whitelist):
2 """Scan and enable IOAT copy engine.
3
4 Args:
5 pci_whitelist: Python list of PCI addresses in
6 domain:bus:device.function format or
7 domain.bus.device.function format
8 """
9 params = {}
10 if pci_whitelist:
11 params['pci_whitelist'] = pci_whitelist
12 return client.call('scan_ioat_copy_engine', params)