2019-09-11 13:08:40 +00:00
|
|
|
from .helpers import deprecated_alias
|
|
|
|
|
|
|
|
|
2020-02-05 17:10:05 +00:00
|
|
|
@deprecated_alias('ioat_scan_copy_engine')
|
2019-09-11 13:08:40 +00:00
|
|
|
@deprecated_alias('scan_ioat_copy_engine')
|
2020-02-05 17:10:05 +00:00
|
|
|
def ioat_scan_accel_engine(client, pci_whitelist):
|
|
|
|
"""Scan and enable IOAT accel engine.
|
2018-06-12 23:31:20 +00:00
|
|
|
|
|
|
|
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
|
2020-02-05 17:10:05 +00:00
|
|
|
return client.call('ioat_scan_accel_engine', params)
|