Spdk/python/spdk/rpc/accel.py
paul luse 44cbea402e lib/accel: Add new RPC to get valid engine info.
The RPC provides a list of initialized engine names along with
that engine's supported operations.

Signed-off-by: paul luse <paul.e.luse@intel.com>
Change-Id: I59f9e5cb7aa51a6193f0bd2ec31e543a56c12f17
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13745
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
2022-08-03 07:53:21 +00:00

11 lines
306 B
Python

def accel_get_opc_assignments(client):
"""Get list of opcode name to engine assignments.
"""
return client.call('accel_get_opc_assignments')
def accel_get_engine_info(client):
"""Get list of valid engine names and their operations.
"""
return client.call('accel_get_engine_info')