]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: hns3: Prevent sending command during global or core reset
authorHuazhong Tan <tanhuazhong@huawei.com>
Fri, 6 Jul 2018 10:28:04 +0000 (11:28 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 5 Sep 2018 12:18:39 +0000 (14:18 +0200)
commit7edef4ceaf23cd1f08542088b269d9f82a9db345
tree7cd2000aa37ce1f9ca03301ce47eb63a174cdb14
parent62079cd18f00d17cb646a28c0f609daefa3d4e97
net: hns3: Prevent sending command during global or core reset

BugLink: https://bugs.launchpad.net/bugs/1787477
According to hardware's description, driver should not send command to
IMP while hardware doing global or core reset.

Signed-off-by: Huazhong Tan <tanhuazhong@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>
(cherry picked from commit 8d40854fc180b7d39bf08cc76fbb9a60bcd65f14)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h