This is consistent with the use of terms in other parts of SPDK and fits with the code living under module/ Change-Id: If182f7cf2d160d57443a1b5f24e0065f191b59b2 Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13919 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
16 lines
443 B
Python
16 lines
443 B
Python
from spdk.rpc.helpers import deprecated_alias
|
|
|
|
|
|
@deprecated_alias('dsa_scan_accel_engine')
|
|
def dsa_scan_accel_module(client, config_kernel_mode=None):
|
|
"""Scan and enable DSA accel module.
|
|
|
|
Args:
|
|
config_kernel_mode: Use kernel DSA driver. (optional)
|
|
"""
|
|
params = {}
|
|
|
|
if config_kernel_mode is not None:
|
|
params['config_kernel_mode'] = config_kernel_mode
|
|
return client.call('dsa_scan_accel_module', params)
|