commit | c438e212b2b9a4058ca5bd7ea93089cd58b833d7 | [log] [tgz] |
---|---|---|
author | Amit Gupta <amitgupt@codeaurora.org> | Wed Apr 25 19:18:14 2018 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Sun May 20 22:23:06 2018 -0700 |
tree | 318da9f5af0a947cc02a3f7769dbb6000007bad0 | |
parent | 2475f416c378aa3c4cc67ed78e57b81bb35fc67e [diff] [blame] |
[qca-nss-drv] PPE service code stats Changes to enable service code stats in ppe. Change-Id: I60bdadd76e5eabef1add80655f441c89bd357dbc Signed-off-by: Amit Gupta <amitgupt@codeaurora.org>
diff --git a/nss_ppe.c b/nss_ppe.c index 1135729..7b0b20b 100644 --- a/nss_ppe.c +++ b/nss_ppe.c
@@ -297,7 +297,9 @@ nss_core_register_handler(nss_ctx, NSS_PPE_INTERFACE, nss_ppe_handler, NULL); - nss_ppe_stats_dentry_create(); + if (nss_ppe_debug_stats.valid) { + nss_ppe_stats_dentry_create(); + } } /*