]> git.baikalelectronics.ru Git - 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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Mar 2018 16:23:37 +0000 (11:23 -0500)
commit1cd7244dfc345233a906b98f38f9712fb9b84dbb
treeb1b153252104ca5d0e76f021dbb754cc90de2b6f
parent38f7c34a2d41a32bd2e0e24b7c9459727fc67120
net: hns3: fix the queue id for tqp enable&&reset

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>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c