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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jan 2018 19:06:18 +0000 (14:06 -0500)
commitcf72fa63162c9adbc690d0145daa8b1dce9eaf6f
tree51aaf0b5e0004647ef3448c9013e22bf7a485b21
parent8491000754796c838a0081c267f9dd54ad2ccba3
net: hns3: Fix a response data read error of tqp statistics query

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