mirror of
https://github.com/torvalds/linux.git
synced 2026-05-04 22:43:04 -04:00
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>
30 lines
1.1 KiB
Makefile
30 lines
1.1 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Makefile for the HISILICON network device drivers.
|
|
#
|
|
|
|
ccflags-y += -I$(srctree)/$(src)
|
|
ccflags-y += -I$(srctree)/drivers/net/ethernet/hisilicon/hns3/hns3pf
|
|
ccflags-y += -I$(srctree)/drivers/net/ethernet/hisilicon/hns3/hns3vf
|
|
ccflags-y += -I$(srctree)/drivers/net/ethernet/hisilicon/hns3/hns3_common
|
|
|
|
obj-$(CONFIG_HNS3) += hnae3.o
|
|
|
|
obj-$(CONFIG_HNS3_ENET) += hns3.o
|
|
hns3-objs = hns3_enet.o hns3_ethtool.o hns3_debugfs.o
|
|
|
|
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_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_tqp_stats.o
|
|
|
|
|
|
hclge-$(CONFIG_HNS3_DCB) += hns3pf/hclge_dcb.o
|