mirror of
https://github.com/breeze303/nss-packages.git
synced 2025-12-16 16:57:29 +00:00
qca-nss-drv: Remove legacy gmac stat
Used for ipq806x platform, remove it from showing up in debugfs
This commit is contained in:
parent
e862d14986
commit
4de4f0b6bb
28
qca/qca-nss-drv/patches/0011-nss-drv-remove-gmac-stat.patch
Normal file
28
qca/qca-nss-drv/patches/0011-nss-drv-remove-gmac-stat.patch
Normal file
@ -0,0 +1,28 @@
|
||||
--- a/nss_stats.c
|
||||
+++ b/nss_stats.c
|
||||
@@ -392,9 +392,9 @@ void nss_stats_create_dentry(char *name,
|
||||
/*
|
||||
* gmac_stats_ops
|
||||
*/
|
||||
-#ifdef NSS_DATA_PLANE_GENERIC_SUPPORT
|
||||
-NSS_STATS_DECLARE_FILE_OPERATIONS(gmac);
|
||||
-#endif
|
||||
+// #ifdef NSS_DATA_PLANE_GENERIC_SUPPORT
|
||||
+// NSS_STATS_DECLARE_FILE_OPERATIONS(gmac);
|
||||
+// #endif
|
||||
|
||||
/*
|
||||
* wt_stats_ops
|
||||
@@ -449,9 +449,9 @@ void nss_stats_init(void)
|
||||
/*
|
||||
* gmac_stats
|
||||
*/
|
||||
-#ifdef NSS_DATA_PLANE_GENERIC_SUPPORT
|
||||
- nss_stats_create_dentry("gmac", &nss_gmac_stats_ops);
|
||||
-#endif
|
||||
+// #ifdef NSS_DATA_PLANE_GENERIC_SUPPORT
|
||||
+// nss_stats_create_dentry("gmac", &nss_gmac_stats_ops);
|
||||
+// #endif
|
||||
|
||||
/*
|
||||
* Per-project stats
|
||||
Loading…
Reference in New Issue
Block a user