Răsfoiți Sursa

core: Update rmnet stats

Add support for additional VEIDs.

CRs-Fixed: 3160476
Change-Id: I9fbd2fb3a31b34ef393f0f318fabe47d9dda4b51
Signed-off-by: Subash Abhinov Kasiviswanathan <[email protected]>
Subash Abhinov Kasiviswanathan 3 ani în urmă
părinte
comite
ecd7f76efc
2 a modificat fișierele cu 13 adăugiri și 1 ștergeri
  1. 1 1
      core/rmnet_config.h
  2. 12 0
      core/rmnet_vnd.c

+ 1 - 1
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)

+ 12 - 0
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",