summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubash Abhinov Kasiviswanathan <quic_subashab@quicinc.com>2022-03-27 23:20:32 -0700
committerSubash Abhinov Kasiviswanathan <quic_subashab@quicinc.com>2022-03-28 00:29:47 -0600
commitecd7f76efc9213c6628dfde2550930cbc8003279 (patch)
tree680c87df24e513a5ad77ce12b5e50523f23d740b
parentd14eb4ff8bf253ace9940365f4856b7dce3be48d (diff)
downloaddatarmnet-ecd7f76efc9213c6628dfde2550930cbc8003279.tar.gz
core: Update rmnet stats
Add support for additional VEIDs. CRs-Fixed: 3160476 Change-Id: I9fbd2fb3a31b34ef393f0f318fabe47d9dda4b51 Signed-off-by: Subash Abhinov Kasiviswanathan <quic_subashab@quicinc.com>
-rwxr-xr-xcore/rmnet_config.h2
-rw-r--r--core/rmnet_vnd.c12
2 files changed, 13 insertions, 1 deletions
diff --git a/core/rmnet_config.h b/core/rmnet_config.h
index e16e897..843a78d 100755
--- a/core/rmnet_config.h
+++ b/core/rmnet_config.h
@@ -21,7 +21,7 @@
#define _RMNET_CONFIG_H_
#define RMNET_MAX_LOGICAL_EP 255
-#define RMNET_MAX_VEID 4
+#define RMNET_MAX_VEID 16
#define RMNET_SHS_STMP_ALL BIT(0)
#define RMNET_SHS_NO_PSH BIT(1)
diff --git a/core/rmnet_vnd.c b/core/rmnet_vnd.c
index 39e7074..9c0b39d 100644
--- a/core/rmnet_vnd.c
+++ b/core/rmnet_vnd.c
@@ -489,6 +489,18 @@ static const char rmnet_gstrings_stats[][ETH_GSTRING_LEN] = {
"Coalescing packets over VEID1",
"Coalescing packets over VEID2",
"Coalescing packets over VEID3",
+ "Coalescing packets over VEID4",
+ "Coalescing packets over VEID5",
+ "Coalescing packets over VEID6",
+ "Coalescing packets over VEID7",
+ "Coalescing packets over VEID8",
+ "Coalescing packets over VEID9",
+ "Coalescing packets over VEID10",
+ "Coalescing packets over VEID11",
+ "Coalescing packets over VEID12",
+ "Coalescing packets over VEID13",
+ "Coalescing packets over VEID14",
+ "Coalescing packets over VEID15",
"Coalescing TCP frames",
"Coalescing TCP bytes",
"Coalescing UDP frames",