]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
net: hns3: Fix a response data read error of tqp statistics query
authorJian Shen <shenjian15@huawei.com>
Fri, 5 Jan 2018 10:18:17 +0000 (18:18 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 16 Mar 2018 15:47:28 +0000 (10:47 -0500)
commit93991b6598f8126843f5eb12d6e7f7cfcd3e68ab
treecd16b7b91b3d6a39f8f0b3906610ef7d6e195126
parentc8c0002e58c7aa35208686876d0ba54c89c17954
net: hns3: Fix a response data read error of tqp statistics query

BugLink: http://bugs.launchpad.net/bugs/1756097
The result of tqp statistics query was read with an
error position, fix it according to the user manual.

Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit cf72fa63162c9adbc690d0145daa8b1dce9eaf6f)
Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c