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)
commit814e0274fd830c1611715ab2c1ba4a7bdb97121b
treeb1b153252104ca5d0e76f021dbb754cc90de2b6f
parentf18f0d4d68096ff73eea93c80b1fe5df5514b07f
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