* jamal <1108994621.1089.158.camel@xxxxxxxxxxxxxxxx> 2005-02-21 09:03
> Everything in the stack would have to be re-written not just that one
> The question is: Is it worth it? My experimentation shows, only in a few
> speacilized cases.
Assuming we can deliver a chain of skbs to enqueue (session based or not),
the locking times should decrease. I'm not sure whether it's worth to
rewrite the whole stack (I wouldn't have any use for it) or just establish
a fast path. We could for example allow the ingress qdisc to redirect
packets directly to a egress qdisc and have "dynamic" fast forwarding.
We can add an action looking up the route and rewriting the packet as
needed and enqueue it to the right qdisc immediately. The redirect action
is already on that way, now if we can reduce the locking overhead a bit
more the fast forwarding routing t-put should increase.