Startup RPC only to avoid issues trying to switch while in use. Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: I7f1801905de0927f3610c4065182dd8fa88cdfdd Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/660 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
10 lines
249 B
Python
10 lines
249 B
Python
def accel_set_module(client, module):
|
|
"""Set the module for the acceleration framework.
|
|
|
|
Args:
|
|
pmd: 0 = auto-select, 1 = Software, 2 = CBDMA
|
|
"""
|
|
params = {'module': module}
|
|
|
|
return client.call('accel_set_module', params)
|