Displaying 3 results from an estimated 3 matches for "noop_qdisc".
2004 Mar 18
6
[PATCH] packet delay scheduler
...q, rta);
+ kfree(rta);
+
+ return ret;
+}
+
+/* Setup underlying FIFO discipline */
+static int dly_change(struct Qdisc *sch, struct rtattr *opt)
+{
+ struct dly_sched_data *q = (struct dly_sched_data *)sch->data;
+ struct tc_dly_qopt *qopt = RTA_DATA(opt);
+ int err;
+
+ if (q->qdisc == &noop_qdisc) {
+ struct Qdisc *child
+ = qdisc_create_dflt(sch->dev, &bfifo_qdisc_ops);
+ if (!child)
+ return -EINVAL;
+ q->qdisc = child;
+ }
+
+ err = change_limit(q->qdisc, qopt->limit);
+ if (err) {
+ qdisc_destroy(q->qdisc);
+ q->qdisc = &noop_qdisc;
+ } else {
+ q->...
2004 Jul 01
20
[PATCH 2.6] update to network emulation QOS scheduler
...q, rta);
- kfree(rta);
-
- return ret;
-}
-
-/* Setup underlying FIFO discipline */
-static int dly_change(struct Qdisc *sch, struct rtattr *opt)
-{
- struct dly_sched_data *q = (struct dly_sched_data *)sch->data;
- struct tc_dly_qopt *qopt = RTA_DATA(opt);
- int err;
-
- if (q->qdisc == &noop_qdisc) {
- struct Qdisc *child
- = qdisc_create_dflt(sch->dev, &bfifo_qdisc_ops);
- if (!child)
- return -EINVAL;
- q->qdisc = child;
- }
-
- err = change_limit(q->qdisc, qopt->limit);
- if (err) {
- qdisc_destroy(q->qdisc);
- q->qdisc = &noop_qdisc;
- } else {
- q->...
2006 Aug 02
10
[PATCH 0/6] htb: cleanup
The HTB scheduler code is a mess, this patch set does some basic
house cleaning. The first four should cause no code change, but the
last two need more testing.
--
Stephen Hemminger <shemminger@osdl.org>
"And in the Packet there writ down that doome"
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to