]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
UBUNTU: SAUCE: {topost} net: hns3: prevent sending command during global or core...
authorHuazhong Tan <tanhuazhong@huawei.com>
Mon, 7 May 2018 06:42:50 +0000 (14:42 +0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 6 Jun 2018 18:42:14 +0000 (14:42 -0400)
commit79d505d3bc14e4692a5fbbf21eee0342644cb228
treed5b5e47dabd81b5169af6bf795785f63e1846f64
parentbc0b741688bd1f3db0bd56cb083ddac2c66343e0
UBUNTU: SAUCE: {topost} net: hns3: prevent sending command during global or core reset

BugLink: https://bugs.launchpad.net/bugs/1768670
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: 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: Khalid Elmously <khalid.elmously@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