Re: [PATCH net-next2.6] net: dynamic ingress_queue allocation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: jamal
Date: Friday, October 1, 2010 - 4:45 am

On Fri, 2010-10-01 at 00:58 +0200, Eric Dumazet wrote:

I agree with the principle that it is valuable in making it dynamic for
people who dont want it; but, but (like my kid would say, sniff, sniff)
you are making me sad saying it is not used very much ;-> It is used
very much in my world. My friend Jarek uses it;->



I think appropriately this should be NET_SCH_INGRESS (everywhere else as
well).


Above, if you just returned dev->ingress_queue wouldnt it always be 
NULL if it was not allocated?



I stared at above a little longer since this is the only fast path
affected; is it a few more cycles now for people who love ingress?


The above looks clever but worries me because it changes the old flow.
If you have time,  the following tests will alleviate my fears

1) compile support for ingress and add/delete ingress qdisc
2) Dont compile support and add/delete ingress qdisc
3) Compile ingress as a module and add/delete ingress qdisc


Other than that excellent work Eric. And you can add my
Acked/reviewed-by etc.

BTW, did i say i like your per-cpu stats stuff? It applies nicely to
qdiscs, actions etc ;->

cheers,
jamal

--
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:
Re: [PATCH net-next2.6] net: dynamic ingress_queue allocation, jamal, (Fri Oct 1, 4:45 am)
[PATCH net-next] net: relax rtnl_dereference(), Eric Dumazet, (Mon Oct 4, 2:00 am)
Re: [PATCH net-next] net: relax rtnl_dereference(), David Miller, (Tue Oct 5, 12:29 am)