]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: hns3: fix the queue id for tqp enable&&reset
authorPeng Li <lipeng321@huawei.com>
Thu, 8 Mar 2018 11:41:53 +0000 (19:41 +0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 6 Jun 2018 18:40:00 +0000 (14:40 -0400)
commite5e89cda0bf1a1f1359c1b9e797816bcec273959
tree89bf2e31808d2d24ab40389c60d5cf17072e605b
parent6b9107328274676da48c2aa8537c0425aa430809
net: hns3: fix the queue id for tqp enable&&reset

BugLink: https://bugs.launchpad.net/bugs/1768670
Command HCLGE_OPC_CFG_COM_TQP_QUEUE should use queue id in the
function, but command HCLGE_OPC_RESET_TQP_QUEUE should use global
queue id.
This patch fixes the queue id about queue enable/disable/reset.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 814e0274fd830c1611715ab2c1ba4a7bdb97121b)
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