Searched hist:13297028 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_main.c | 13297028 Sun Sep 27 02:12:47 CDT 2020 Guangbin Huang <huangguangbin2@huawei.com> net: hns3: add a check for device specifications queried from firmware
The device specifications querying is unsupported by the old firmware, in this case, these specifications are 0. However, some specifications should not be 0 or will cause problem.
So after querying from firmware, some device specifications are needed to check their value and set to default value if their values are 0.
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 13297028 Sun Sep 27 02:12:47 CDT 2020 Guangbin Huang <huangguangbin2@huawei.com> net: hns3: add a check for device specifications queried from firmware
The device specifications querying is unsupported by the old firmware, in this case, these specifications are 0. However, some specifications should not be 0 or will cause problem.
So after querying from firmware, some device specifications are needed to check their value and set to default value if their values are 0.
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|