|
41 | 41 | if (b->sparse_flow_count + b->bulk_flow_count)
|
42 | 42 | empty = false;
|
43 | 43 |
|
44 |
| -@@ -2273,8 +2272,7 @@ static int cake_config_besteffort(struct |
| 44 | +@@ -2269,8 +2268,7 @@ static int cake_config_besteffort(struct |
45 | 45 |
|
46 | 46 | cake_set_rate(b, rate, mtu,
|
47 | 47 | us_to_ns(q->target), us_to_ns(q->interval));
|
|
51 | 51 |
|
52 | 52 | return 0;
|
53 | 53 | }
|
54 |
| -@@ -2285,8 +2283,7 @@ static int cake_config_precedence(struct |
| 54 | +@@ -2281,8 +2279,7 @@ static int cake_config_precedence(struct |
55 | 55 | struct cake_sched_data *q = qdisc_priv(sch);
|
56 | 56 | u32 mtu = psched_mtu(qdisc_dev(sch));
|
57 | 57 | u64 rate = q->rate_bps;
|
|
61 | 61 | u32 i;
|
62 | 62 |
|
63 | 63 | q->tin_cnt = 8;
|
64 |
| -@@ -2299,18 +2296,14 @@ static int cake_config_precedence(struct |
| 64 | +@@ -2295,18 +2292,14 @@ static int cake_config_precedence(struct |
65 | 65 | cake_set_rate(b, rate, mtu, us_to_ns(q->target),
|
66 | 66 | us_to_ns(q->interval));
|
67 | 67 |
|
|
83 | 83 | }
|
84 | 84 |
|
85 | 85 | return 0;
|
86 |
| -@@ -2379,8 +2372,7 @@ static int cake_config_diffserv8(struct |
| 86 | +@@ -2375,8 +2368,7 @@ static int cake_config_diffserv8(struct |
87 | 87 | struct cake_sched_data *q = qdisc_priv(sch);
|
88 | 88 | u32 mtu = psched_mtu(qdisc_dev(sch));
|
89 | 89 | u64 rate = q->rate_bps;
|
|
93 | 93 | u32 i;
|
94 | 94 |
|
95 | 95 | q->tin_cnt = 8;
|
96 |
| -@@ -2396,18 +2388,14 @@ static int cake_config_diffserv8(struct |
| 96 | +@@ -2392,18 +2384,14 @@ static int cake_config_diffserv8(struct |
97 | 97 | cake_set_rate(b, rate, mtu, us_to_ns(q->target),
|
98 | 98 | us_to_ns(q->interval));
|
99 | 99 |
|
|
115 | 115 | }
|
116 | 116 |
|
117 | 117 | return 0;
|
118 |
| -@@ -2446,17 +2434,11 @@ static int cake_config_diffserv4(struct |
| 118 | +@@ -2442,17 +2430,11 @@ static int cake_config_diffserv4(struct |
119 | 119 | cake_set_rate(&q->tins[3], rate >> 2, mtu,
|
120 | 120 | us_to_ns(q->target), us_to_ns(q->interval));
|
121 | 121 |
|
|
137 | 137 |
|
138 | 138 | return 0;
|
139 | 139 | }
|
140 |
| -@@ -2487,15 +2469,10 @@ static int cake_config_diffserv3(struct |
| 140 | +@@ -2483,15 +2465,10 @@ static int cake_config_diffserv3(struct |
141 | 141 | cake_set_rate(&q->tins[2], rate >> 2, mtu,
|
142 | 142 | us_to_ns(q->target), us_to_ns(q->interval));
|
143 | 143 |
|
|
0 commit comments