]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
UBUNTU: SAUCE: {topost} net: hns3: remove unnecessary ring configuration operation...
authorHuazhong Tan <tanhuazhong@huawei.com>
Fri, 11 May 2018 07:01:10 +0000 (15:01 +0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 6 Jun 2018 18:42:21 +0000 (14:42 -0400)
commitf09bfe6e9c69865285b7f0a5f176f5672f31fb90
tree49618d156b5884c14b3c1244841ff75b1f3128b5
parent732066d749c30efaea59fbec80765d348eb008c8
UBUNTU: SAUCE: {topost} net: hns3: remove unnecessary ring configuration operation while resetting

BugLink: https://bugs.launchpad.net/bugs/1768670
The configuration of the ring will be used to reinitialize the
ring after the hardware reset is completed. So we should not
release and reacquire this configuration during reset.

Fixes: bb6b94a896d4 ("net: hns3: Add reset interface implementation in client")
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/hns3_enet.c