Commit 30667025 authored by Chiqijun's avatar Chiqijun Committed by Yang Yingliang
Browse files

net/hinic: Set default features when probe netdev



driver inclusion
category: bugfix
bugzilla: 4472

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

In the x86 system, the hinic device turns off LRO by default, and the
LRO state will not be set when the driver is loaded. If the LRO of the
chip is turned on before the driver is loaded, it will cause the chip
to still turn on LRO after reloading the driver, but the LRO that the
user sees is turned off. Therefore, the driver is forced to set the
default features of the device when probe.

Signed-off-by: default avatarChiqijun <chiqijun@huawei.com>
Reviewed-by: default avatarWangxiaoyun <cloud.wangxiaoyun@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent b0325454
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment