mirror of
https://github.com/qosmio/nss-packages.git
synced 2025-12-16 08:12:53 +00:00
nss-drv: [12.5] fix missing GRE macro
Signed-off-by: Sean Khan <datapronix@protonmail.com>
This commit is contained in:
parent
febe0256ca
commit
a6d4d5bfc3
14
qca-nss-drv/patches/0026-nss_gre-fix-missing-macro.patch
Normal file
14
qca-nss-drv/patches/0026-nss_gre-fix-missing-macro.patch
Normal file
@ -0,0 +1,14 @@
|
||||
--- a/exports/nss_gre_tunnel.h
|
||||
+++ b/exports/nss_gre_tunnel.h
|
||||
@@ -212,7 +212,11 @@ struct nss_gre_tunnel_stats {
|
||||
* GRE tunnel transmission statistics structure.
|
||||
*/
|
||||
struct nss_gre_tunnel_stats_notification {
|
||||
+#if defined(NSS_HAL_IPQ807x_SUPPORT)
|
||||
uint64_t stats_ctx[NSS_GRE_TUNNEL_STATS_SESSION_MAX + NSS_CRYPTO_CMN_RESP_ERROR_MAX];
|
||||
+#else
|
||||
+ uint64_t stats_ctx[NSS_GRE_TUNNEL_STATS_SESSION_MAX];
|
||||
+#endif
|
||||
/**< Context transmission statistics. */
|
||||
uint32_t core_id; /**< Core ID. */
|
||||
uint32_t if_num; /**< Interface number. */
|
||||
Loading…
Reference in New Issue
Block a user