[qca-nss-drv] Break up statistics implementation
Break up the centralized statistics implementation to be subsystem based
statistics implementation.
Change-Id: Ibc14d88f391e816d3d6284a57ea6676f2842ac70
Signed-off-by: Yu Huang <yuhuang@codeaurora.org>
diff --git a/Makefile b/Makefile
index 33b5dbd..5d7afdf 100644
--- a/Makefile
+++ b/Makefile
@@ -10,59 +10,85 @@
qca-nss-drv-objs := \
nss_bridge.o \
nss_capwap.o \
+ nss_capwap_stats.o \
nss_cmn.o \
nss_core.o \
nss_coredump.o \
nss_dtls.o \
+ nss_dtls_stats.o \
nss_dynamic_interface.o \
nss_edma.o \
+ nss_edma_stats.o \
nss_eth_rx.o \
+ nss_eth_rx_stats.o \
nss_gre.o \
+ nss_gre_stats.o \
nss_gre_redir.o \
+ nss_gre_redir_stats.o \
nss_gre_tunnel.o \
+ nss_gre_tunnel_stats.o \
nss_if.o \
nss_init.o \
nss_ipsec.o \
nss_ipv4.o \
+ nss_ipv4_stats.o \
nss_ipv4_log.o \
nss_ipv4_reasm.o \
+ nss_ipv4_reasm_stats.o \
nss_ipv6.o \
+ nss_ipv6_stats.o \
nss_ipv6_log.o \
nss_ipv6_reasm.o \
+ nss_ipv6_reasm_stats.o \
nss_l2tpv2.o \
+ nss_l2tpv2_stats.o \
nss_lag.o \
nss_log.o \
nss_lso_rx.o \
+ nss_lso_rx_stats.o \
nss_map_t.o \
+ nss_map_t_stats.o \
nss_n2h.o \
+ nss_n2h_stats.o \
nss_oam.o \
nss_phys_if.o \
nss_pm.o \
nss_profiler.o \
nss_project.o \
nss_portid.o \
+ nss_portid_stats.o \
nss_ppe.o \
+ nss_ppe_stats.o \
nss_pppoe.o \
+ nss_pppoe_stats.o \
nss_pptp.o \
+ nss_pptp_stats.o \
nss_shaper.o \
nss_sjack.o \
+ nss_sjack_stats.o \
nss_stats.o \
nss_tstamp.o \
nss_tun6rd.o \
nss_trustsec_tx.o \
+ nss_trustsec_tx_stats.o \
nss_tunipip6.o \
nss_virt_if.o \
+ nss_virt_if_stats.o \
nss_vlan.o \
nss_tstamp.o \
nss_wifi.o \
+ nss_wifi_stats.o \
nss_wifi_vdev.o \
nss_wifi_if.o \
- nss_wifili.o
+ nss_wifi_if_stats.o \
+ nss_wifili.o \
+ nss_wifili_stats.o
#
# TODO: Deprecated files should be removed before merge
#
-qca-nss-drv-objs += nss_tx_rx_virt_if.o
+qca-nss-drv-objs += nss_tx_rx_virt_if.o \
+ nss_tx_rx_virt_if_stats.o
# Base NSS data plane/HAL support
qca-nss-drv-objs += nss_data_plane/nss_data_plane.o