aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ifb.c
diff options
context:
space:
mode:
authorFuyun Liang <liangfuyun1@huawei.com>2018-08-14 17:13:14 +0100
committerDavid S. Miller <davem@davemloft.net>2018-08-14 09:54:23 -0700
commitb01b7cf19bf4a677d5dd4e63b12d86a021db751d (patch)
tree75712ddad34f78dd404de4626d7cd103379b4b7d /drivers/net/ifb.c
parentnet: hns3: Fix for command format parsing error in hclge_is_all_function_id_zero (diff)
downloadlinux-dev-b01b7cf19bf4a677d5dd4e63b12d86a021db751d.tar.xz
linux-dev-b01b7cf19bf4a677d5dd4e63b12d86a021db751d.zip
net: hns3: Fix for information of phydev lost problem when down/up
Function call of phy_connect_direct will reinitialize phydev. Some information like advertising will be lost. Phy_connect_direct only needs to be called once. And driver can run well. This patch adds some functions to ensure that phy_connect_direct is called only once to solve the information of phydev lost problem occurring when we stop the net and open it again. Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ifb.c')
0 files changed, 0 insertions, 0 deletions