Merge "[qca-nss-drv] Add eth_rx exception statistics"
diff --git a/nss_hlos_if.h b/nss_hlos_if.h
index cdd6120..163abe3 100755
--- a/nss_hlos_if.h
+++ b/nss_hlos_if.h
@@ -74,6 +74,8 @@
*/
enum exception_events_eth_rx {
NSS_EXCEPTION_EVENT_ETH_RX_UNKNOWN_L3_PROTOCOL,
+ NSS_EXCEPTION_EVENT_ETH_RX_ETH_HDR_MISSING,
+ NSS_EXCEPTION_EVENT_ETH_RX_VLAN_MISSING,
NSS_EXCEPTION_EVENT_ETH_RX_MAX,
};
diff --git a/nss_stats.c b/nss_stats.c
index 1b7756a..5cca856 100644
--- a/nss_stats.c
+++ b/nss_stats.c
@@ -213,7 +213,9 @@
* Interface stats strings for unknown exceptions
*/
static int8_t *nss_stats_str_if_exception_eth_rx[NSS_EXCEPTION_EVENT_ETH_RX_MAX] = {
- "UNKNOWN_L3_PROTOCOL"
+ "UNKNOWN_L3_PROTOCOL",
+ "ETH_HDR_MISSING",
+ "VLAN_MISSING"
};
/*