42eb233e48
The new RPC also includes and option for which idxd config is to be used. Config options will be explained in detail in a later patch. Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: I1322bab4d6ca9cc45ec3a56d7267dc7dc09dbea3 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1726 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
9 lines
282 B
Python
9 lines
282 B
Python
def idxd_scan_accel_engine(client, config_number):
|
|
"""Scan and enable IDXD accel engine.
|
|
|
|
Args:
|
|
config_number: Pre-defined configuration number, see docs.
|
|
"""
|
|
params = {'config_number': config_number}
|
|
return client.call('idxd_scan_accel_engine', params)
|