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:Guoxin Qian <qianguoxin@huawei.com> Signed-off-by:
Yizhen Fan <fanyizhen@huawei.com>
Loading
Please sign in to comment