]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: refactor VF tqp stats APIs with new common tqp stats APIs
authorJie Wang <wangjie125@huawei.com>
Wed, 5 Jan 2022 14:20:14 +0000 (22:20 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Jan 2022 14:36:37 +0000 (14:36 +0000)
commit311de455e0767fd95aa5d7ebc083d015584a7511
tree1448da27aa2d4f3cac7f99eccdd94c9796f60dc8
parent4473b3a1d777d3699f3e9a2f0aea094946a36536
net: hns3: refactor VF tqp stats APIs with new common tqp stats APIs

This patch firstly uses new tqp struct(hclge_comm_tqp) and removes the
old VF tqp struct(hclgevf_tqp). All the tqp stats members used in VF module
are modified according to the new hclge_comm_tqp.

Secondly VF tqp stats APIs are refactored to use new common tqp stats APIs.
The old tqp stats APIs in VF are deleted.

Signed-off-by: Jie Wang <wangjie125@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h