]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: hns3: Modify the order of initializing command queue register
authorHuazhong Tan <tanhuazhong@huawei.com>
Mon, 16 Jul 2018 15:36:19 +0000 (16:36 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 5 Sep 2018 12:18:39 +0000 (14:18 +0200)
commitddb9c2470868aed590a40068a1d8ec3ef29e21cc
treec0d4dba4bc12be5e82537cd9692b4054238aed19
parent7edef4ceaf23cd1f08542088b269d9f82a9db345
net: hns3: Modify the order of initializing command queue register

BugLink: https://bugs.launchpad.net/bugs/1787477
According to hardware's description, the head pointer register should
be written before the tail pointer register while doing command queue
initialization.

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 1b3725781a07f754d1b81065926495c79c2183e6)
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