Commit 0b6bc5d2 authored by Yizhen Fan's avatar Yizhen Fan Committed by fanyizhen1995
Browse files

ub: add config device ops in ubcore



driver inclusion
category: feature
bugzilla: NA
CVE: NA

--------------------------------

config_device is a function pointer
and a member of the ubcore_ops_t structure.
When the ubcore_register_device interface is invoked,
the vendor driver registers with the UB protocol stack.
The administrator or cloud management system
uses uvs-admin or uvs to invoke the UB protocol stack
to provide a device configuration interface for tools.
The UB protocol stack invokes this interface
to configure basic device information through drivers.

Input parameter:
dev: contains vendor-defined private device data.
cfg: configuration information.
The UBN driver obtains information from this field for configuration.
timeout: specifies the timeout interval, in ms.

Signed-off-by: default avatarGuoxin Qian <qianguoxin@huawei.com>
Signed-off-by: default avatarYizhen Fan <fanyizhen@huawei.com>
parent f6206cf0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment