Commit 13f37117 authored by Yizhen Fan's avatar Yizhen Fan Committed by fanyizhen1995
Browse files

ub: ubcore provide query device status ops



driver inclusion
category: feature
bugzilla: NA
CVE: NA

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

Ubcore provide query_device_status ops.
- query_device_status: ubcore will call UBN vendor driver
registered methods to query device status(device port status, including
mtu, speed, etc).

Input parameter:
dev: contains vendor-defined private device data.
status: device status defined by the UB protocol stack.
The UBN driver queries the device status from the chip and
fills it in this field.
Return value:
The value 0 indicates that the query is successful.
The value other than 0 indicates that the query fails.

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