Re: [RFC PATCH 1/4] softirq: Limit vector to a single iteration on IRQ tail

From: David Miller
Date: Fri Jan 19 2018 - 13:47:46 EST


From: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Jan 2018 10:25:03 -0800

> On Fri, Jan 19, 2018 at 8:16 AM, David Miller <davem@xxxxxxxxxxxxx> wrote:
>>
>> So this "get requeued" condition I think will trigger always for
>> networking tunnel decapsulation.
>
> Hmm. Interesting and a perhaps bit discouraging.
>
> Will it always be just a _single_ level of indirection, or will double
> tunnels (I assume some people do that, just because the universe is
> out to get us) then result in this perhaps repeating several times?

Every level of tunnel encapsulation will trigger a new softirq.

So if you have an IP tunnel inside of an IP tunnel that will trigger
twice.