]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd48014fa626656721b27d6f5b1be048209b1bb6c
tree51aaf0b5e0004647ef3448c9013e22bf7a485b21
parenta253f43cec9c4e1a0e74f9c1a6286d80fdc8c726
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: 22c0e2ce21dd ("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