Re: [PATCH v2 2/3] net_sched: Add accessor function for packet length for qdiscs

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jarek Poplawski
Date: Saturday, July 26, 2008 - 7:18 am

On Sat, Jul 26, 2008 at 03:21:42PM +0200, Patrick McHardy wrote:

My proposal (as before) is to apply this patch now (it could hit more
people than we know), but I would do small changes yet:
- to do htb_activate() if (cl->un.leaf.q->q.qlen),
- to skip bstats.packets and .bytes updating for anything but
  NET_XMIT_SUCCESS,
so, both things just like in sch_hfsc.


Why can't we (temporarily) simply check such cl->un.leaf.q->q.qlen
before and after enqueing?

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 v2 0/3] Add size table feature for qdiscs, Jussi Kivilinna, (Sat Jul 19, 4:34 pm)
[PATCH v2 1/3] net_sched: Add qdisc_enqueue wrapper, Jussi Kivilinna, (Sat Jul 19, 4:35 pm)
[PATCH v2 3/3] net_sched: Add size table for qdiscs, Jussi Kivilinna, (Sat Jul 19, 4:35 pm)
Re: [PATCH v2 0/3] Add size table feature for qdiscs, David Miller, (Sun Jul 20, 12:09 am)
Re: [PATCH v2 2/3] net_sched: Add accessor function for pa ..., Jarek Poplawski, (Sat Jul 26, 7:18 am)