summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/Makefile
diff options
context:
space:
mode:
authorJie Wang <wangjie125@huawei.com>2022-01-05 22:20:12 +0800
committerDavid S. Miller <davem@davemloft.net>2022-01-05 14:36:36 +0000
commit287db5c40d15cb5ee2d3125133347b73194cba1d (patch)
treee7033d6c15f66be0da333c4ea0c3ebda9b8f8cbf /drivers/net/ethernet/hisilicon/hns3/Makefile
parent93969dc14fcd7fddc081e5a7e003e0e144cc401b (diff)
downloadlinux-stable-287db5c40d15cb5ee2d3125133347b73194cba1d.tar.gz
linux-stable-287db5c40d15cb5ee2d3125133347b73194cba1d.tar.bz2
linux-stable-287db5c40d15cb5ee2d3125133347b73194cba1d.zip
net: hns3: create new set of common tqp stats APIs for PF and VF reuse
This patch creates new set of common tqp stats structures and APIs for PF and VF tqp stats module. Subfunctions such as get tqp stats, update tqp stats and reset tqp stats are inclued in this patch. These new common tqp stats APIs will be used to replace the old PF and VF tqp stats APIs in next patches. Signed-off-by: Jie Wang <wangjie125@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/Makefile')
-rw-r--r--drivers/net/ethernet/hisilicon/hns3/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/Makefile b/drivers/net/ethernet/hisilicon/hns3/Makefile
index 00d0a8e7f234..6efea4662858 100644
--- a/drivers/net/ethernet/hisilicon/hns3/Makefile
+++ b/drivers/net/ethernet/hisilicon/hns3/Makefile
@@ -18,11 +18,12 @@ hns3-$(CONFIG_HNS3_DCB) += hns3_dcbnl.o
obj-$(CONFIG_HNS3_HCLGEVF) += hclgevf.o
hclgevf-objs = hns3vf/hclgevf_main.o hns3vf/hclgevf_mbx.o hns3vf/hclgevf_devlink.o \
- hns3_common/hclge_comm_cmd.o hns3_common/hclge_comm_rss.o
+ hns3_common/hclge_comm_cmd.o hns3_common/hclge_comm_rss.o hns3_common/hclge_comm_tqp_stats.o
obj-$(CONFIG_HNS3_HCLGE) += hclge.o
hclge-objs = hns3pf/hclge_main.o hns3pf/hclge_mdio.o hns3pf/hclge_tm.o \
hns3pf/hclge_mbx.o hns3pf/hclge_err.o hns3pf/hclge_debugfs.o hns3pf/hclge_ptp.o hns3pf/hclge_devlink.o \
- hns3_common/hclge_comm_cmd.o hns3_common/hclge_comm_rss.o
+ hns3_common/hclge_comm_cmd.o hns3_common/hclge_comm_rss.o hns3_common/hclge_comm_tqp_stats.o
+
hclge-$(CONFIG_HNS3_DCB) += hns3pf/hclge_dcb.o