[qca-nss-sfe] Rx support for PPPoE flow acceleration in SFE
Change-Id: Ie7c24661838a2dfa3eef8620284898c76904c454
Signed-off-by: Guduri Prathyusha <quic_gprathyu@quicinc.com>
diff --git a/sfe_ipv4.h b/sfe_ipv4.h
index 75b89d5..313c836 100644
--- a/sfe_ipv4.h
+++ b/sfe_ipv4.h
@@ -3,7 +3,7 @@
* Shortcut forwarding engine header file for IPv4.
*
* Copyright (c) 2013-2016, 2019-2020, The Linux Foundation. All rights reserved.
- * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2021,2022 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -234,6 +234,9 @@
SFE_IPV4_EXCEPTION_EVENT_IP_OPTIONS_INCOMPLETE,
SFE_IPV4_EXCEPTION_EVENT_UNHANDLED_PROTOCOL,
SFE_IPV4_EXCEPTION_EVENT_PPPOE_HEADER_ENCAP_FAILED,
+ SFE_IPV4_EXCEPTION_EVENT_INVALID_PPPOE_SESSION,
+ SFE_IPV4_EXCEPTION_EVENT_INCORRECT_PPPOE_PARSING,
+ SFE_IPV4_EXCEPTION_EVENT_PPPOE_NOT_SET_IN_CME,
SFE_IPV4_EXCEPTION_EVENT_LAST
};
@@ -264,6 +267,7 @@
u64 packets_not_forwarded64; /* Number of IPv4 packets not forwarded */
u64 exception_events64[SFE_IPV4_EXCEPTION_EVENT_LAST];
u64 pppoe_encap_packets_forwarded64; /* Number of IPv4 PPPOE encap packets forwarded */
+ u64 pppoe_decap_packets_forwarded64; /* Number of IPv4 PPPOE decap packets forwarded */
};
/*