Thread (27 messages) 27 messages, 3 authors, 2011-01-12

Re: [RFC] sched: CHOKe packet scheduler (v0.4)

flat view

From: Eric Dumazet <hidden>
Date: 2011-01-11 06:18:40

Le lundi 10 janvier 2011 à 17:10 -0800, Stephen Hemminger a écrit :
OK, put that in.
Thanks !
quoted
Here we missed :

		q->tab = ntab;
We also need to change 

.peek       =   qdisc_peek_head,

to

.peek = choke_peek_head,

static struct sk_buff *choke_peek_head(struct Qdisc *sch)
{
	struct choke_sched_data *q = qdisc_priv(sch);

	return (q->head != q->tail) ? q->tab[q->head] : NULL;
}


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help