login
Header Space

 
 

Re: [PATCH][NET_SCHED] sch_sfq: fix queue limiting while enqueuing

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Patrick McHardy <kaber@...>
Cc: David Miller <davem@...>, <netdev@...>
Date: Sunday, April 27, 2008 - 4:36 pm

On Sun, Apr 27, 2008 at 08:29:44PM +0200, Patrick McHardy wrote:

OK, you are right: it would break some scripts... But IMHO this way
of treating tx_queue_len isn't right: it can be changed after
initialization too, and looks like perfect way to control the queue
size globally. Anyway, current use of "limit" parameter in sfq warps
its idea. Another possibility would be like this:

sch->q.qlen >= max_t(__u32, sch->dev->tx_queue_len, q->limit)

or removing this global sch->q.qlen check at all. Or maybe we need to
add one more tc parameter for sfq?

Thanks,
Jarek P.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH][NET_SCHED] sch_sfq: prevent unnecessary reordering, Jarek Poplawski, (Mon Apr 28, 5:04 am)
Re: [PATCH][NET_SCHED] sch_sfq: fix queue limiting while enq..., Jarek Poplawski, (Sun Apr 27, 4:36 pm)
speck-geostationary