]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
UBUNTU: SAUCE: {topost} net: hns3: fix for waterline not setting correctly
authorYunsheng Lin <linyunsheng@huawei.com>
Fri, 27 Apr 2018 09:51:10 +0000 (17:51 +0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 6 Jun 2018 18:42:07 +0000 (14:42 -0400)
commit1b9980c7632c0f4916eec49aaecc7ae5808fef51
tree63f7a13eb2f0656b257990b11cb2f13fb06428d1
parentc5172f8580446c8a01627e36382badf054f8d364
UBUNTU: SAUCE: {topost} net: hns3: fix for waterline not setting correctly

BugLink: https://bugs.launchpad.net/bugs/1768670
The HCLGE_RX_PRIV_EN_B is used to tell the firmware whether
to update the specific waterline value, if the is not set,
the firmware will ignore the value.

This patch fixes by setting the HCLGE_RX_PRIV_EN_B even if
the updated value is zero.

Signed-off-by: Yunsheng Lin <linyunsheng@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_main.c