blob: 958e18bb4d6f831816f153b3c8c0c642bf1618d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
def scan_ioat_copy_engine(client, pci_whitelist):
"""Scan and enable IOAT copy engine.
Args:
pci_whitelist: Python list of PCI addresses in
domain:bus:device.function format or
domain.bus.device.function format
"""
params = {}
if pci_whitelist:
params['pci_whitelist'] = pci_whitelist
return client.call('scan_ioat_copy_engine', params)
|