]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: remove unnecessary configuration recapture while resetting
authorHuazhong Tan <tanhuazhong@huawei.com>
Tue, 18 Dec 2018 11:37:52 +0000 (19:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Dec 2018 20:01:01 +0000 (12:01 -0800)
commit58bdee17c63a6d82ac5d07ca3e2d60f77fac11e3
treef972bd15bf57ab6a98479d655c2c64b82590cdf4
parentae21be10baaf95f82816b359037c0930c4b91126
net: hns3: remove unnecessary configuration recapture while resetting

When doing reset, it is unnecessary to get the hardware's default
configuration again, otherwise, the user's configuration will be
overwritten.

Fixes: f62e8ef80016 ("net: hns3: Add reset process in hclge_main")
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c