File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -89,13 +89,19 @@ static ssize_t aqm_read(struct file *file,
89
89
"R fq_flows_cnt %u\n"
90
90
"R fq_backlog %u\n"
91
91
"R fq_overlimit %u\n"
92
+ "R fq_overmemory %u\n"
92
93
"R fq_collisions %u\n"
94
+ "R fq_memory_usage %u\n"
95
+ "RW fq_memory_limit %u\n"
93
96
"RW fq_limit %u\n"
94
97
"RW fq_quantum %u\n" ,
95
98
fq -> flows_cnt ,
96
99
fq -> backlog ,
100
+ fq -> overmemory ,
97
101
fq -> overlimit ,
98
102
fq -> collisions ,
103
+ fq -> memory_usage ,
104
+ fq -> memory_limit ,
99
105
fq -> limit ,
100
106
fq -> quantum );
101
107
@@ -128,6 +134,8 @@ static ssize_t aqm_write(struct file *file,
128
134
129
135
if (sscanf (buf , "fq_limit %u" , & local -> fq .limit ) == 1 )
130
136
return count ;
137
+ else if (sscanf (buf , "fq_memory_limit %u" , & local -> fq .memory_limit ) == 1 )
138
+ return count ;
131
139
else if (sscanf (buf , "fq_quantum %u" , & local -> fq .quantum ) == 1 )
132
140
return count ;
133
141
You can’t perform that action at this time.
0 commit comments