From 327b97d4a0845c8f6310421507df8a03dcf7df19 Mon Sep 17 00:00:00 2001 From: Qosmio Date: Tue, 12 Mar 2024 17:01:03 -0400 Subject: [PATCH] qca-nss-drv: Move Profiler code to ipq806x Useless to build on IPQ807x/60xx --- ...tch => 0011-nss-drv-move-only-for-ipq806x.patch} | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) rename qca-nss-drv/patches/{0011-nss-drv-gmac-only-for-ipq806x.patch => 0011-nss-drv-move-only-for-ipq806x.patch} (79%) diff --git a/qca-nss-drv/patches/0011-nss-drv-gmac-only-for-ipq806x.patch b/qca-nss-drv/patches/0011-nss-drv-move-only-for-ipq806x.patch similarity index 79% rename from qca-nss-drv/patches/0011-nss-drv-gmac-only-for-ipq806x.patch rename to qca-nss-drv/patches/0011-nss-drv-move-only-for-ipq806x.patch index 32e14b5..17e7812 100644 --- a/qca-nss-drv/patches/0011-nss-drv-gmac-only-for-ipq806x.patch +++ b/qca-nss-drv/patches/0011-nss-drv-move-only-for-ipq806x.patch @@ -28,7 +28,15 @@ * Per-project stats --- a/Makefile +++ b/Makefile -@@ -40,7 +40,6 @@ qca-nss-drv-objs += nss_hal/nss_hal.o +@@ -26,7 +26,6 @@ qca-nss-drv-objs := \ + nss_n2h_stats.o \ + nss_n2h_strings.o \ + nss_pm.o \ +- nss_profiler.o \ + nss_project.o \ + nss_rps.o \ + nss_stats.o \ +@@ -40,7 +39,6 @@ qca-nss-drv-objs += nss_hal/nss_hal.o ifneq "$(NSS_DRV_POINT_OFFLOAD)" "y" qca-nss-drv-objs += \ @@ -36,13 +44,14 @@ nss_if.o \ nss_if_log.o \ nss_phys_if.o \ -@@ -381,7 +380,8 @@ endif +@@ -381,7 +379,9 @@ endif ifeq ($(SoC),$(filter $(SoC),ipq806x)) qca-nss-drv-objs += nss_data_plane/nss_data_plane_gmac.o \ - nss_hal/ipq806x/nss_hal_pvt.o + nss_hal/ipq806x/nss_hal_pvt.o \ + nss_gmac_stats.o \ ++ nss_profiler.o ifneq "$(NSS_DRV_C2C_ENABLE)" "n" ccflags-y += -DNSS_DRV_C2C_ENABLE