[qca-nss-drv] IPv6 fragmentation statistics
Add IPv6 fragmentation statistics
CRs-Fixed: 836942
Change-Id: Id21b909d4fb7224ebfaa49aa9f0950010323c8b3
Signed-off-by: Selin Dag <sdag@codeaurora.org>
diff --git a/nss_ipv6.c b/nss_ipv6.c
index 9e6d286..3257624 100644
--- a/nss_ipv6.c
+++ b/nss_ipv6.c
@@ -80,6 +80,8 @@
nss_top->stats_ipv6[NSS_STATS_IPV6_CONNECTION_HASH_REORDERS] += nins->ipv6_connection_hash_reorders;
nss_top->stats_ipv6[NSS_STATS_IPV6_CONNECTION_FLUSHES] += nins->ipv6_connection_flushes;
nss_top->stats_ipv6[NSS_STATS_IPV6_CONNECTION_EVICTIONS] += nins->ipv6_connection_evictions;
+ nss_top->stats_ipv6[NSS_STATS_IPV6_FRAGMENTATIONS] += nins->ipv6_fragmentations;
+ nss_top->stats_ipv6[NSS_STATS_IPV6_FRAG_FAILS] += nins->ipv6_frag_fails;
for (i = 0; i < NSS_EXCEPTION_EVENT_IPV6_MAX; i++) {
nss_top->stats_if_exception_ipv6[i] += nins->exception_events[i];